How is the underlined pronoun used in the sentence?

We're trying to find out *whose* car is parked in front of our driveway.

A.
direct object

B.
subject

C.
object of a preposition

D.
possessive