The water issuing from a hot spring is heated by geothermal heat, essentially heat from the Earth's interior. In general, the temperature of rocks within the Earth increases with depth. The rate of temperature increase with depth is known as the “geothermal gradient”.