Practically all of the energy that reaches the earth comes from the sun. Intercepted first by the atmosphere, a small part is directly absorbed, particularly by certain gases such as ozone and water vapor. Some energy is reflected back to space by clouds and the earth's surface. Most of the radiation, however, is absorbed by the surface.