To return your items, you must have a receipt.

We are studying infinitives.

I need to by some new clothes for the summer. I know to buy is the infinitive and to but some new clothes is a phrase but i am lost as to say what part of speech. is it an adverb describing need

This sentence doesn't have an adverb describing "need." The infinitive phrase is a direct object of the verb,"need."

To determine the part of speech of a phrase, we need to consider its function in the sentence. In the sentence "I need to buy some new clothes for the summer," the phrase "to buy some new clothes for the summer" serves as the object of the verb "need." It answers the question "What do I need?" Therefore, this phrase functions as a noun in the sentence, specifically as the direct object of the verb "need." It represents the action or activity the subject wants to perform – in this case, "to buy some new clothes for the summer."

It is important to note that an infinitive is a verb form that typically starts with "to" (e.g., to buy, to eat, to study). In this sentence, "to buy" is the infinitive, and "some new clothes for the summer" is a prepositional phrase that provides additional information about the direct object (the clothes). While the entire phrase together functions as a noun, "to buy" on its own is the infinitive verb.