An Intrusion Detection System (IDS) is a type of security system used to detect malicious activity or policy violations on a computer network. It does this by monitoring network traffic and analyzing it for suspicious activity. For example, an IDS may detect an attempted connection to a restricted port or an attempted download of a malicious file. It then alerts the system administrator so they can take appropriate action to address the issue.