Definition:- In a sentence, every word has its function. according to function sentence are 8 types. They are called part of speech.
1.Noun
2.Pronoun
3.Adjective
4.verb
5.Adverb
6.Preposition
7.Conjunction
8.Interjection