geothermal heat is harnessing energy from nuclear decay and energy left over from the formation. It is not from the sun.