Subject And Predicate Questions
An example of a gerund phrase functioning as an object is "I enjoy swimming in the ocean."