Syntax is the study of science structure. It attempts to describe what is grammatical in a particular language in term of rules. These rules detail an underlying structure and a transformational process. The underlying structure of English, for example,would have a subject-verb-object sentence order (john hit the ball). The transformational process would allow an alteration of the word order which gives you something like the ball was hit by john