what is the function of the gerund in the sentence keeping track of all her grandkids sporting activities was driving Ms. Smith to tears?

a. keeping functions as a noun
b. driving functions as a pronoun
c. driving functions as a adjective
d. keeping functions as an adjective

a. keeping functions as a noun