Syntax in English sets forth a specific order for grammatical elements like subjects, verbs, direct and indirect objects, etc.
For example, if a sentence has a verb, direct object, and subject, the proper order is subject → verb → direct object.
Thus, there are four types of sentences: simple, compound, complex, and compound-complex.
Now you know how to build and join sentences to express interesting ideas.
The syntax of a language is also referred as , "the arrangement of words and phrases to create well-formed sentences in a language.", “ the grammatical structure of words and phrases to create coherent sentences.
Syntax is roughly about word order.