Tech Mahindra interview question

Difference between FIR and IIR filters