How is the underlined word used in the sentence?

Diego's oldest cousin is Camila.



A.
subject


B.
subject complement


C.


object of a preposition


D.
direct object