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

“I will be going to the library soon.”
A. prepositional
B. participial
C. infinitive
D. gerund

A. Prepositional