According to me, “Grammar” is regulation equipment in the language or known as rules of language. Languages started by people making sounds which evolved into words, phrases and sentences. No commonly-spoken language is fixed. All languages change over time. What we call “grammar” is simply a reflection of a language at a particular time. Moreover in language contained structural rules that govern the composition of sentences, phrases, and words in any given natural language. The term refers also to the study of such rules, and this field includes morphology and syntax, often complemented by phonetics, phonology, semantics, and pragmatics.
Each language has its own distinct grammar. For example, “English grammar” is the set of rules within the English language itself. “An English grammar” is a specific study or analysis of these rules. A reference book describing the grammar of a language is called a “reference grammar” or simply “a grammar”. A fully explicit grammar exhaustively describing the grammatical constructions of a language is called a descriptive grammar, as opposed to linguistic prescription, which tries to enforce the governing rules of how a language is to be used.
Do we need to study grammar to learn a language? The short answer is “no”. Very many people in the world speak their own, native language without having studied its grammar. Children start to speak before they even know the word “grammar”. But if you are serious about learning a foreign language, the long answer is “yes, grammar can help you to learn a language more quickly and more efficiently.” It’s important to think of grammar as something that can help you, like a friend. When you understand the grammar of a language, you can understand many things yourself, without having to ask a teacher or look in a book.
So think of grammar as something good, something positive, something that you can use to find your way – like a signpost or a map.