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.5m questions
11.2m answers