Â
Evaporator absorbs heat from the area to be cooled. Condensor disperses heat out of that area.
A heat pump that can heat a building swaps the functioning (refrigerant flow) via the reversing valve.
All air conditioners that can only cool a building are heat pumps, they just aren't commonly called as such.