Describe the phases of a compiler
A compiler translates high-level programming code into machine code or intermediate code that a computer can execute. This process involves several distinct phases, each with a specific role in converting the source code into executable code.