A CO detector is a device that detects the presence of the carbon monoxide (CO) gas in order to prevent carbon monoxide poisoning.