Complex sentence: Heat pumps have the ability to move thermal energy from one environment to another, and in either danner as an ordinary air conditioner (A/C), which itself is a type of heat pump.
Split into simpler sentences: Heat pumps have the ability to move thermal energy from one environment to another, and in either direction. A heat pump works in the same manner as an ordinary air conditioner (A/C), which itself is a type of heat pump.