How do heat pumps work?

See our How they work page