Grammar is a set of rules used to speak or write a language. It tells about the structure of words and sentences. Grammar is not related to the meaning of the word or sentence.