A ground-source heat pump (geothermal) is an electrically powered mechanical device that takes heat from one location and moves it to another location. The pump puts heat into the earth (well) during the cooling mode, and takes heat out of the earth (well) while in the heating mode.