A standard heat pump has an outdoor and indoor unit connected by an expansion valve. When it's in heating mode, the pump takes heat from the outdoor air, then transfers it to the refrigerant coolant. Next, the compressor pressurizes the refrigerant, increasing the air's temperature before spreading it through your home.