Cognizant interview question

What is difference between Compiler and Interpreter ?