Answer:
The indirect object identifies to or for whom or what the action of the verb is performed.
Step-by-step explanation:
The teacher gave the students cake, the indirect object is the students. The direct object is cake, and the students are the ones who eat it.