Skip to main content
1 of 2

What is the grammatical term for a noun after a gerund/infinitive

For instance, there are the sentences "Reading books is good" and "To be a hero is your duty."

Could I say that books and "hero" are objects of the verbs reading and To be, and that together( verb and object) act as a noun, more specifically, as the subject of both sentences?