A gerund is the -ing form of a verb that functions as a noun in a sentence.
usage:
1. Subject: Swimming is a good exercise.
2. Object: I enjoy reading books.
3. Object of a Preposition: He is good at dancing.
4. Complement of the Verb 'to be': His hobby is painting.