This document discusses using machine learning algorithms to predict air pollution levels. Sensors are used to collect data on air quality, smoke and dust levels. This data is fed into a KNN machine learning model for training and testing. The KNN model achieved 99.1% accuracy in predicting air quality levels based on the Air Quality Index. Machine learning is effective for analyzing large environmental datasets and making accurate pollution predictions to help monitor air quality and reduce health issues from air pollution.