A heat pump is a device that provides heat energy from a source of heat to a destination called a heat sink. Heat pumps are designed to move thermal energy opposite to the direction of spontaneous heat flow by absorbing heat from a cold space and releasing it to a warmer one.