When a heat pump is used for heating , it employs the same basic refrigeration-type cycle used by an air conditioner or a refrigerator , but in the opposite direction - releasing heat into the air-conditioned space rather than the surrounding environment .
Most heat pumps use a refrigeration cycle .