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

Have you seen the picture that Julie painted?



A.
subject


B.
possessive


C.
object of a preposition


D.
direct object