Syntax
The rules for how source code must be shaped to be valid — what counts as a token, where semicolons go, how functions are declared.
Formally described with grammars (BNF, EBNF, PEG). Distinct from semantics (what the code means). Syntactic sugar = convenient syntax that desugars to a longer form. Python chose indentation-based syntax (significant whitespace) — debated but extremely readable.