Identify how the pronoun is used in the sentence.

Nick took them to the movies yesterday.
direct object
indirect object
object of a preposition

The pronoun "them" is used as the direct object in the sentence.