What is an intrusion detection system (IDS)?

An intrusion detection system, often known as an IDS, is a software programme or hardware that monitors a network for a hostile activity or policy breaches. With the aid of a security information and event management system, every identified harmful activity or violation is reported or gathered centrally. Intrusion prevention systems are IDSs that can respond to intrusions when they are discovered (IPS).