An infinitive phrase includes an infinitive (often accompanied by to) and its object, plus any modifiers.
This team should be able to resist lucrative temptations of fame and fortune.
An infinitive phrase can serve as noun, adjective, or adverb in a sentence.
Claudia is bone weary and wants to go home, [noun]
Her desire to collapse on a sofa and put up her jeet is almost overpowering, [adjective]
But she must carry on to meet the deadline, [adverb]
An infinitive phrase serving as a noun may be an appositive, a complement, an object, or a subject in the sentence.
Brandon's goal, to finish the project on time, may be unrealistic, [appositive]
The intent of most advertising is to encourage people to buy a product, [subject complement]
They propose to build their home this fall, [direct object]
To catch the perfect wave is every surfer's dream, [subject]
An introductory infinitive phrase becomes a dangling modifier when its implied subject is not the same as the subject of the independent clause. The implied subject of the infinitive in the following sentence is you or one, not communication.