A heat pump is usually located outside of the building and is used to not only pull warm air out of the building in the summer, thereby helping to keep it cool. It also helps force warmer air inside in the winter.
https://www.triumphheatandair.com/heating/