The grammar of a language is a system of rules for the production of sentences. These rules are part of the unconscious "deep structure" of language.