A heat pump works by transferring heat from one area to another using a refrigeration cycle, providing both heating and cooling by reversing the direction of heat flow. In the summer, they move hot air outside to keep your home cool, but they also work in the winter by moving hot air from outside into the home.