The amount of energy in the form of heat in the earth is huge. We can use this energy to generate electricity or directly as heat. This energy resource consists mainly of radioactive decay and sun energy. Earth is insulating, absorbing energy from the sun and does a relatively good job at keeping it in place. Temperatures are therefore more stable in the earth as opposed to the surface.