The sun radiates in the visible wavelengths, but the Earth and everything on it radiates in the infrared wavelengths, which are invisible to our eyes.Greenhouse gases such as carbon dioxide and methane in our atmosphere are transparent to sunlight just like the nitrogen and oxygen that make up most of our air.