A carbon monoxide detector sounds when it detects dangerous levels of CO in the air. There is a high chance that, should this occur, there is probably a gas leak somewhere. But it doesn’t suggest anything conclusive about the source. Carbon monoxide is created when gas burns improperly.