Syntax deals with the question of how the phrases of a language are built up from smaller phrases and words.
[Syntax 1 Wiki]