Sunlight has the effect of heating the earth