E) Determine the function of the gerund that is undefined in each Sentence

2) I enjoy swimming in the ocean during the summer.
A) Direct Object B) Predicate nominative c) object of a preposition D) Subject