Grammar (linguistics)/Definition

The logical and structural rules that govern the composition of sentences, phrases, and words in any given natural language.