Compiler :
A compiler is a program that translates program (called source code) written in some high level language into object code.
Interpreter:
An interpreter translates high-level instructions into an intermediate form, which it then executes. Interpreter analyzes and executes each line of source code in succession, without looking at the entire program; the advantage of interpreters is that they can execute a program immediately. .