Answer
Please see the work below.
Work Step by Step
We know that the main gases in the atmosphere are oxygen and nitrogen.These gases are transparent to visible light form the sun. We also know that both oxygen and nitrogen don't absorb the infra red radiations but gases like carbon dioxide absorb infra red radiation.