Capgemini Interview Question

What is difference between compiler and interpreter?