In a heat pump, it takes in heat to warm your home. In an air conditioner, it dissipates heat from the refrigerant,
changing the refrigerant from vapor to liquid to cool your home.