Ground source heat pumps use a buried ground loop which transfers heat from the ground into a building to provide space heating and, in some cases, to pre-heat domestic hot water.
Air-source heat pumps, often used in moderate climates, use the difference between outdoor air temperatures and indoor air temperatures to cool and heat your home.