Syntax is the grammatical structure of sentences. The format in which words and phrases are arranged to create sentences is called syntax.