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

Ms. Jackson, who lives in California, loves to surf.

A.object of a preposition

B.possessive

C.subject

D.direct object