While linguistics tries to explain the science of language. Grammar, at its core, refers to the rules of language.