Grammar is the set of rules that govern how words are used in a language. The study of English grammar usually consists of parts of speech, parts of a sentence, punctuation, and capitalization.