The answer is (A),
It is called a gerund and it functions as a noun in this sentience.
9.5m questions
12.2m answers