ReliaQuest interview question

Difference between a IDS and an IPS