Air quality sensors use various technologies to detect pollutants. Optical sensors use light scattering to detect particulate matter, whereas electrochemical sensors measure gases like carbon monoxide and nitrogen dioxide. These sensors are often integrated into networks to provide comprehensive data over large geographical areas. The data is then transmitted to central databases where it can be analyzed.