An Intrusion Detection System (IDS) is a system designed to detect malicious activity on a network or computer system. It monitors for suspicious activities and can alert system administrators of potential security threats. For example, an IDS can detect a malicious user trying to access a system by using multiple failed login attempts, or a hacker trying to send malicious packets to a network.