Define semantic analysis
Semantic Analysis is a phase in the process of compiling programming languages that focuses on checking the program's logic and meaning beyond its syntax. It ensures that the program adheres to the rules and constraints of the programming language's semantics.