mthree interview question

What is the difference between interpreter and compiler