The relationship between grammar and linguistics is that grammar is a sub field or component of linguistics. Linguistics is the scientific study of language. It encompasses all aspects of language, including its structure, history, acquisition, and use.Grammar specifically refers to the set of structural rules that govern the composition of clauses, phrases, and words in any given natural language. It describes how these elements combine to form meaningful sentences.