Through helping to cool urban areas and mitigate the urban heat island effect, green spaces also help address air pollution by reducing the formation of photochemical ozone. Shade provided by urban trees also reduces energy demand, indirectly contributing to improved air quality.