Measuring and detecting hazardous gases (LPG, NG, and CO)