In the 21st century, air pollution has emerged as a significant problem all over the globe due to a variety of activities carried out by humans, such as the acceleration of industrialization and urbanization. SO 2 , NO 2 , and NH 3 are the key components contributing to air pollution. Moreover, these air pollutants have a significant connection to several climatic characteristics, such as the speed of the wind, the relative humidity, the temperature, the amount of precipitation, and the surface pressure. As a result, machine learning (ML) is regarded as a more effective strategy for predicting air quality than more conventional approaches such as probability and statistics, among others. In the research, Decision Tree (DT), Support Vector Regression (SVR), Random Forest (RF), and Multi-Linear Regression (MLR) algorithms are used to make predictions about air quality, and MSE (Mean Squared Error), RMSE (Root Mean Square Error), MAE (Mean Squared error), and R 2 are used to determine how accurate the predictions are.