Grammar is a branch of linguistics, which studies the inflections of "parts of speech" and "words" or other means to express their relationship according to certain usage, as well as the functions and relationships of words in sentences.
Including word formation and configuration, as well as word formation and sentence formation. Grammar has two meanings: first, it refers to the law of grammatical structure itself, that is, grammatical facts; One-finger grammar is a science to explore and describe the grammatical structure, and it is also a grammarian's understanding and explanation of the objective grammatical system.
There is no difference in grammatical facts, but grammarians have different materials, observation angles and analysis methods, and their grammatical systems are different. Grammar includes morphology and syntax. Morphology mainly refers to the formation, change and classification of words.
Syntax mainly refers to the composition and changing rules of grammatical units such as phrases and sentences.