How is the gerund phrase used in the sentence? My favorite pastime is skateboarding at the park.

Adirect object
Bsubject
Cobject of a preposition
Dpredicate nominative