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

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


A.subject


B.possessive


C.object of a preposition


D.direct object