Inactive Tutor answered 03/21/19
The exact definition of syntax is the following: Syntax is the study of grammatical structure of words and phrases to construct coherent sentences. Simply put, syntax is about sentence structures. It tells us what goes in which part of a sentence. Grammar gives us rules about a language, which includes syntax.
Therefore, 'Grammar' gives us rules about 'Syntax'.