An air conditioner with a heater is commonly called a heat pump. Heat pumps are a type of HVAC system that can both cool and heat a space, and they work by transferring heat between the indoor and outdoor units.