In the cold months, heat pumps extract heat from outdoor air (or the ground in geothermal models) and pump it indoors, while in summer, the process reverses to provide air conditioning.