What is a honeypot, and why are its alerts so trustworthy?
A decoy system or service, built to look attractive and vulnerable but holding no real data and isolated from production; since no legitimate user has any reason to touch it, any interaction is suspicious by definition.
A honeypot imitates something attackers want, such as an SSH server, a database or a file share, often with deliberate weaknesses. It is placed where attackers will find it, but it contains nothing real and is cut off from the production network. Everything that happens on it is logged in detail.
That gives honeypots a property other detectors lack: almost no false positives. A signature IDS must separate attacks from millions of legitimate packets; a honeypot has no legitimate traffic, so normal behaviour is "nothing happens". Whoever logs in is, almost by definition, scanning or attacking.
The logs then show the attacker's tools, tactics and procedures: which passwords they try, which commands they run, which malware they download and from where. Defenders can use that to write signatures and block infrastructure.
Limits: a honeypot detects only attacks on itself, not on other systems, and attackers can hit real systems without ever touching it. Analysing what it records takes effort and expertise, so it supplements other intrusion detection rather than replacing it.
Go deeper:
Cowrie on GitHub — a widely deployed honeypot, showing in practice what gets logged and captured.
Honeypot (computing) (Wikipedia) — research vs production honeypots, low vs high interaction, honeynets.