This document describes a gas leakage detection, prediction and alert system using a Raspberry Pi and cloud computing. The system uses gas sensors to detect gas leaks and sends the sensor data to a Raspberry Pi. The Raspberry Pi then uploads the data to the cloud for analysis. If a low level of gas is detected, no action is taken, but if a high level is detected, concerned individuals are notified via an MQTT dashboard app, a buzzer sounds, and a relay is activated to perform preventive operations. The system also predicts air quality using machine learning models trained on previous sensor data. The goal is to automatically detect gas leaks, alert people, and minimize dangers through preventative actions and predictions.