A heat pump is a heating and cooling system that uses refrigeration technology to transfer heat from one location to another. It can extract heat from the outdoor air, ground, or water sources and transfer it indoors for heating, or vice versa for cooling.