Photochemical smog is generally formed:
Photochemical smog is formed when emissions containing nitrogen oxide, such as car exhaust, interact with volatile organic compounds in the presence of sunlight. The oxygen in the compounds and the heat from the sunlight react to form ground-level ozone. So, it is found during mid day when there is ample amount of sunlight.