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


Hermit crabs rely on a supply of empty mollusk shells that they inhabit.


A.

subject


B.

possessive


C.

direct object


D.

object of a preposition