Original: In other words a heat pump can change which coil is the condenser and which the evaporator.
Simplified: Most heat pumps use electric motors to provide energy.