Capgemini interview question

What is difference between compiler and interpreter?