Hexaware Technologies interview question

Difference between Compiler and Interpreter