Heat is exchanged through conduction causing evaporation of the gas. Then the gas is condensed through a compressor, and the cycle repeats. 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.