Indirect object refers to whom or for whom the action is being done. It is a prepositional phrase in which the prepositions, for or to is understood without stating it. Also, the indirect object is placed between the verb and the direct object.
Hence, from the following sentence which uses the word 'them' as an indirect object is Leo sent them a postcard from NASA.
Sent- verb
A postcard- direct object
Them- indirect object.
Whereas, in the rest of the sentences, them acts as a direct object.