syntax
Pronunciation: /ˈsɪntaks/
noun

Origin:
late 16th century: from French syntaxe, or via late Latin from Greek suntaxis, from sun- 'together' + tassein 'arrange'

Grammar
The study of how words are selected and arranged to form sentences. Syntax is a major part of grammar, the other being morphology.