The Correct answer is A) it is called a gerund and it functions as a noun in this sentence. Hope this helps!
Proof down below!
9.4m questions
12.2m answers