Grammatica
Grammatica, or grammar, is the set of rules and patterns that govern how words combine to form phrases and sentences in a language. It describes the systematic structure of a language at several levels: morphology (word formation and inflection), syntax (the arrangement of words and phrases), phonology (the sound system), and orthography (spelling and punctuation). Together these elements determine what is considered grammatical in a given language.
Grammars can be descriptive or prescriptive. Descriptive grammar documents how speakers actually use a language, including
Languages vary in structure. Many adopt a default word order such as subject–verb–object or subject–object–verb, while
Historically, grammars have played a central role in language teaching. Ancient and medieval grammarians produced manuals
Applications include language education, lexicography, and natural language processing. Knowledge of grammar supports writing quality, language