Assuming the underlined verb form is masquerading, the correct answer is B. gerund.
Although gerunds and participles look the same (both have the form verb + -ing), the difference is in their function - participles are used as either adjectives or adverbs, whereas gerunds are used as nouns within a sentence.