Which type of verbal ONLY functions as a modifier?

A. gerund
B. participle
C. infinitive
D. all of the above

Please select the best answer from the choices provided