A sentence cannot be a part of speech. Parts of speech are usually singular words. For example, "students" is a noun, and "find" is a verb.
The types of speech are nouns, verbs, adjectives, prepositions, pronouns, articles, adverbs, interjections, and conjunctions.