usually, heat flows from a hot place to a cold place, according to the second law of thermodynamics. heat will not move from a cold place to a warmer place by itself. because of this, a heat pump must use extra energy to move the heat. this is sort of like pumping water uphill.