What is the role of a compiler in the software development process?
Correct: B
A compiler translates source code (written in a high-level programming language) into machine code (which the computer can directly execute) or an intermediate representation (which can be interpreted or further compiled).