Yes, a heat pump can heat and cool a home, unlike an air conditioner which only provides cooling.