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?