A carbon monoxide detector is a device that detects the presence of the carbon monoxide gas in order to prevent carbon monoxide poisoning.CO detectors are designed to measure CO levels over time and sound an alarm before dangerous levels of CO accumulate in an environment, giving people adequate warning to safely ventilate the area or evacuate.