Syntax is the system of a language that tells us how to put words together to produce phrases, clauses, and sentences. It is shortly said as the grammatical structure of sentences.