I read that when heat passes through the glass of a greenhouse it gets absorbed by the earth inside the greenhouse. The Earth reflects this heat but these rays are of longer wavelength so it bounces off the glass and inturn heats the greenhouse more. Now the heat coming from the sun is also absorbed by the Earth and it reflects the heat of a longer wavelength. This longer wavelenth heat cannot pass through the carbon dioxide in the atmosphere and is in turn reflected. just like the green house. How does all this relate to quantum physics?