Description: This project is based on Gas leakage detection or smoke detection using the MQ-2 gas/smoke sensor, Arduino Uno, and…