Correct option is D
Photochemical smog forms due to sunlight reactions.
Nitrogen oxides and hydrocarbons are primary contributors.
Ozone and PAN are major components of photochemical smog.
Carbon dioxide does not participate in smog formation.
It mainly contributes to greenhouse effect.
Hence, carbon dioxide is the correct answer.