How is the underlined gerund phrase used in the sentence?

After that day, his greatest passion became restoring old
----------------
cars.
-----
A.direct object

B.predicate nominative

C.object of a preposition

D.subject