What is compiler in computer programming?

A compiler is a program that translates high-level source code into low-level machine code.