How is the underlined pronoun used in the sentence?

The mail in the basket is for them.

A.
subject

B.
direct object

C.
subject complement

D.
object of a preposition


PLease HELP AND THANKS YOUS