What is the difference between IDS and IPS?

IDS is Intrusion Detection System and it only detects intrusions and the administrator has to take care of preventing the intrusion.

IPS is Intrusion Prevention System, the system detects the intrusion and also takes actions to prevent the intrusion.