syntax
The rules for how words are arranged to make sentences.
Syntax is the set of rules that governs how words are arranged to form correct sentences. Just as building blocks need to stack in certain ways to stay standing, words need to fit together in patterns that make sense. In English, we say “The quick brown fox jumps over the lazy dog,” not “Fox brown quick the jumps dog lazy the over.” The meaning might still peek through the jumble, but the syntax is wrong.
Every language has its own syntax rules. In English, adjectives typically come before nouns (we say “red balloon,” not “balloon red”), and subjects usually come before verbs (“She runs” rather than “Runs she”). Spanish syntax puts adjectives after nouns, so “red balloon” becomes “globo rojo.” When you're learning a new language, mastering its syntax often feels harder than learning vocabulary, because you're not just memorizing new words but rewiring how you arrange them.
Programmers use the term syntax too. Computer code has strict syntax rules, and even one misplaced comma or bracket can make a program crash. When a coder's program won't run, they often check for syntax errors first, just as a careful writer proofreads sentences to ensure they follow proper English syntax.