There are 8 parts of speech. The following are the example sentences that I learned for each part of speech:
1. Noun
Robert lives in a small apartment.
Robert and apartment are the nouns of the sentence.
Robert is a proper noun, since it is a specific name of a person.
Apartment is a common noun and countable noun.
2. Pronoun
He lives in a small apartment.
He is the pronoun in the sentence. He is used to replace the name of a male person.
3. Verb
They walk together every day.
Walk is the verb of the sentence. The verb walk in this sentence functions as an action verb.
4. Adverb
She writes emails daily.
The adverb in this sentence is daily. The adverb daily modifies the verb write.
5. Adjective
Lara is a beautiful lady.
Beautiful functions as adjective in this sentence, since it describes Lara, the lady.
6. Conjunction
Robert and his wife are teachers.
And is the conjunction in this sentence. It connects two nouns, Robert and his wife.
7. Preposition
In the morning, she drinks coffee.
In functions as the preposition in this sentence.
8. Interjection
Wow! You got an excellent mark.
Wow! is the interjection in this sentence. It expresses the emotion of being amazed.