In the following sentence, what kind of phrase is “to play basketball”?

“Porpoises have been trained to play basketball.”
A. prepositional
B. participial
C. infinitive
D. gerund

C. infinitive