Syntax examines how words combine to form sentences according to grammatical rules. These rules are complex and hierarchical, allowing speakers to generate and understand an infinite variety of sentences from a finite set of words and rules.
The study of syntax reveals both universal principles that apply across languages and language-specific patterns. Understanding syntax helps explain how we can produce and comprehend novel sentences we've never encountered before.