This paper analyzes Beijing's air quality data from 2018 to 2020 and develops a prediction model using a circular neural network based on the Long Short-Term Memory (LSTM) algorithm. It finds a significant positive correlation between the Air Quality Index (AQI) and PM2.5 and PM10 pollutants, while showing a low negative correlation with ozone (O3). The predictive model demonstrates high accuracy, thereby supporting the application of LSTM in air quality forecasting.