Here's why:
* Gerunds are words formed from verbs but function as nouns. They usually end in "-ing".
* In this sentence, "cooking" is the subject of the sentence, and it represents the act of cooking.
Let me know if you'd like to explore other parts of speech! 😊