An intrusion detection system, or IDS, works in a very similar way to home intrusion sensors.
An intrusion detection system is an application that monitors system and network activity, and produces alerts on possible intrusions.
Like the home intrusion sensor, IDS collects and analyzes system information for abnormal activities.
If something unusual is detected, the IDS sends out an alert to appropriate channels and personnel.