An indirect object is located between the verb and the direct object in a sentence. It indicates to whom or for whom the action is performed.
Example: I gave my friend a gift for her birthday.
Friend is the indirect object.