A heat pump is a device that transfers heat energy from a source of heat to a destination called a "heat sink". Heat pumps are designed to move thermal energy in the opposite direction of spontaneous heat transfer by absorbing heat from a cold space and releasing it to a warmer one. A heat pump uses a small amount of external power to accomplish the work of transferring energy from the heat source to the heat sink.
While air conditioners and freezers are familiar examples of heat pumps, the term "heat pump" is more general and applies to many HVAC (heating, ventilating, and air conditioning) devices used for space heating or space cooling. When a heat pump is used for heating, it employs the same basic refrigeration-type cycle used by an air conditioner or a refrigerator, but in the opposite direction - releasing heat into the conditioned space rather than the surrounding environment. In this use, heat pumps generally draw heat from the cooler external air or from the ground.
In heating mode, heat pumps are three to four times more effective at heating than simple electrical resistance heaters using the same amount of electricity. Typically installed cost for a heat pump is about 20 times greater than for resistance heaters.
Heat energy naturally transfers from warmer places to colder spaces. However, a heat pump can reverse this by absorbing heat from a cold space and releasing it to a warmer one. Heat is not conserved in this process and requires some amount of external energy such as electricity. In heating, ventilation and air conditioning (HVAC) systems, the term heat pump usually refers to vapor-compression refrigeration devices optimized for high efficiency in both directions of thermal energy transfer. These heat pumps can be reversible, and work in either direction to provide heating or cooling to the internal space.
Heat pumps are used to transfer heat because less high-grade energy is required than is released as heat. Most of the energy for heating comes from the external environment, only a fraction of which comes from electricity (or some other high-grade energy source required to run a compressor). In electrically-powered heat pumps, the heat transferred can be three or four times larger than the electrical power consumed, giving the system a coefficient of performance (COP) of 3 or 4, as opposed to a COP of 1 for a conventional electrical resistance heater, in which all heat is produced from input electrical energy.