Please see the video below on how a heat pump works. It explains the process in detail.