A heat pump is a machine that moves heat from one place to another . A heat pump is a machine or device that moves heat from one location ( the ` source ' ) at a lower temperature to another location ( the ` sink ' or ` heat sink ' ) at a higher temperature using mechanical work or a high-temperature heat source . A heat pump can be used to provide heating or cooling .