Air quality plays an important role on human everyday life. Aerosols in the atmosphere can directly affect the air quality. Researches have already shown that the aerosol optical depth (AOD) or aerosol optical thickness (AOT) has relation to the air quality. The AOT can be retrieved from the multi-channel satellite data. MODIS data is used in this paper. Data for the Qingdao, Shandong area is selected. Further process is necessary to extract data that cover this area. The Air Pollution Index (API) can be obtained from China National Environmental Monitoring Centre. It is published for the main cities of China everyday. AOD data for each day from 2008 to 2009 is collected in this paper, the API in the same time range is also collected. We discussed the relationship between AOD and API. For part of the 2008 data, we get a correlation coefficient of 0.80. For the year 2009, the correlation coefficient of the whole year is 0.47, with p=0.12. The correlativity is not very well. Data from June to December is analyzed separately. Perfect result is obtained. The correlation coefficient is 0.87, with p=0.01. We also get the linear relation by regression.