Ground-level ozone forms in the air from other pollutants: volatile organic compounds (VOCs) and nitrogen oxides (NOx). The higher the temperature and the more direct the sunlight, the more ozone is produced. That's why summertime is the time to watch out for unhealthy levels of ozone.