Which phase follows lexical tokenization in the compilation process?

Syntax analysis follows lexical tokenization in the compilation process, where the sequence of tokens is checked against the grammar rules to construct a parse tree. This step ensures that the code adheres to the syntactical rules of the language, forming the backbone for the entire compilation process.