Geothermal energy is a Greek term used to described the heating of the earth. There are two main sources of this heating of the earth. The correct source for geothermal energy is the earths core, where temperatures are estimated to be between 3000 and 5000 degrees Celsius. The source for the variant of geothermal energy is the sun, where the suns rays heat the first few meters of the land, and then this energy is lost at night.
More: continued here