The gerund in the sentence is the word "cooking". The gerund used in the sentence is used as appositive. The answer is option A. An appositive is a noun or pronoun that is usually beside another noun and renames it to add more information about the subject.