the infinitive and infinitive phrase

➲The third type of verbal, in addition to the participle and the gerund,
is the infinitive. An infinitive is composed of the word to plus a verb.
Examples of the infinitive include to remember, to cuddle, to pacify,
and to yodel.
Infinitives can function as nouns, adjectives, and adverbs.

To succeed is Ted’s goal. (noun—subject of the sentence)
Franklin’s goal was to succeed. (noun—predicate nominative)

Melissa wanted to succeed. (noun—direct object)
Kelly has the drive to succeed. (adjective—Which drive? the drive
to succeed)
Kelly will endeavor to succeed. (adverb—How will Kelly endeavor?
to succeed)

➲ An infinitive phrase is composed of the infinitive, its modifiers (or
describers), and all the other words that are needed to complete the idea
begun by the infinitive.

To stay up later was the child’s wish. (noun—subject)

Lorene desired to be a doctor. (noun—direct object)

My cousin’s goal was to make the New York Yankees. (noun—
predicate nominative)
Henry’s ultimate goal was to make other people happy. (noun—
predicate nominative)
The musical to see is Oklahoma! (adjective—Which musical?
Oklahoma!)
The strong lifeguard swam out to save the struggling swimmer.
(adverb—Why did the lifeguard swim out? to save the struggling
swimmer)