When CO is detected, the carbon monoxide alarm’s sensor triggers an alarm to alert you. If you’re unsure if the alarm is working, test it by checking the wall outlet’s power or batteries.