Syntax is the study of conventions and processes by which words are ordered to create grammatically well-formed phrases, clauses and sentences.