A compiler is simply a program that takes a slab of code that has been written in any language (usually compilers are language-specific, allowing it to only compile a single language, ever), and converts it to the code which the computer uses to run the program.
