Indirect object pronouns are the same as direct object pronouns, apart from lui (to him/her) and leur (to them.) ...
Je mange une pomme - I’m eating an apple. Je is the subject, the person who is doing the action. Une pomme is the object because it is on the receiving end of the action.