Step-by-step explanation:
In the sentence "Maryam finished doing her homework," the word "doing" is functioning as a gerund. Therefore, the correct answer is (D) Gerund.
8.3m questions
11.0m answers