Determine whether the underlined sentence opener in the sentence below begins with an adjective, adverb, infinitive, or prepositional phrase.

To have friends, you must be a friend.

Please select the best answer from the choices provided.
A. adjective
B. adverb
C. infinitive
D. prepositional phrase