How is the underlined pronoun in the sentence used?


Her collection is quite extensive; she has more than 500 coins.

Underlined word: Her

A.
object of a preposition

B.
direct object

C.
indirect object

D.
possessive