Step 1: Look at how a sentence is built:
Take the sentence: "Oh! She quickly read the long book in the library and smiled." Every word in it does one of a few fixed jobs. Grammar calls these jobs the parts of speech.
Step 2: Sort the words of the sentence:
"She" replaces a name, so it is a pronoun. "Book" and "library" name things, so they are nouns. "Read" and "smiled" show actions, so they are verbs. "Long" describes the book, so it is an adjective.
"Quickly" tells how she read, so it is an adverb. "In" links the book to the library, so it is a preposition. "And" joins two actions, so it is a conjunction. "Oh" shows feeling, so it is an interjection.
Step 3: Count the groups:
The sentence used every group once or more. That gives eight groups in all.
Final Answer:
Noun, pronoun, verb, adjective, adverb, preposition, conjunction and interjection are the basic parts of speech.