Infinitive phrase in the given sentence is, 'To play the piano' and the use of it is as noun and subject.
An infinitive phrase has an infinitive verb with any complements or modifiers. Complements are words that are required for a phrase to make sense. Complements are direct objects in infinitive phrases whereas modifiers make phrases clearer and more specific.
To identify an infinitive phrase in a sentence: Firstly, find the word to. and secondly, if the word after to is a verb, then it is an infinitive.
Infinitive phrases begin with infinitive and include objects/ modifiers. For example : To walk to the park was too much for my mother. In the sentence, ”To walk to the store” is a noun that functions as the subject of the sentence.
To know more about infinitive phrase, refer
https://brainly.com/question/449147
#SPJ4