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!
8.8m questions
11.4m answers