These devices extract heat from the ground, even ponds and work in a similar way to air heat exchangers.
https://www.gshp.org.uk/ground_source_heat_pumps_Domestic.html for more information.
Air or Ground?
http://www.superhomes.org.uk/resources/are-heat-pumps-cost-effective/