Capgemini interview question

Difference between complier and interpreter