Infinitive phrases can function as nouns in different roles within a sentence.
Infinitive phrases can be classified as nouns because they can function as subjects, direct objects, subject complements, objects of the preposition, among other functions in a sentence. For example, in the sentence 'To read is important,' 'to read' acts as the subject of the sentence.
https://brainly.com/question/1212665