Answer:
The gerund is a verb form that works like a noun. It looks like a normal verb + -ing: to cook (infinitive) cooking (gerund).
For example In I like cooking, cooking is a gerund—that is, a noun. It's the direct object of the verb like, and direct objects function as nouns.