The temperature experienced at the surface of the earth is primarily a product of the solar radiation reaching the Earth from the sun and the terrestrial radiation (caused by the heat) escaping back into space. This is an oversimplification, and we'll be talking about it during the next couple of classes.