What is the difference between IDS and IPS?

IDS is an Intrusion Detection System and it only detects intrusions. It’s the responsibility of the administrator to take care of actually preventing the intrusion.

Whereas, in IPS, Intrusion Prevention System, the system detects the intrusion but also takes care of preventing the intrusion in the first instance.