How is the underlined gerund used in the sentence? help me please


He hopes his hobby, cooking, will become his career.


A.

appositive


B.

predicate nominative


C.

subject


D.

object of a preposition