What is the function of the relative pronoun in the adjective clause?

The singer, whose voice is so strong and emotional, kept us listening for hours.


A.
object of a preposition

B.
direct object

C.
subject

D.
possessive