MQ-2 gas sensor can not only detect gas or smoke, but can also detect LPG, Alcohol, Propane, Hydrogen, Methane, and Carbon Monoxide.For interfacing, we are using the 5V and GND pin of the Arduino UNO Board and connecting the output pin of the sensor to A0 pin of the Arduino.