Syntax

The way that words and phrases are put together to form sentences in a language; the rules of grammar for this (Oxford Learner’s Dictionary).