A compiler is translator which translate the high level(user understandable code) to low Level (machine understandable code).
Some programming languages are using the Compiler and some using Interpreter.
C/C++ language uses the Compiler.