which part of the following sentence contains a gerund?

keeping track of all her grandkids sporting activities was driving Ms. smith to tears
a. her grandkids
b. keeping track
c. to tears
d. sporting activities

b. keeping track