Original: In other words a heat pump can change which coil is the condenser and which the evaporator.
Simplified: This is how an air conditioner works.