When the refrigerant changes from a liquid to a gas, it gains (absorbs) heat energy.
(the refrigerant; changes; from a liquid to a gas) (it; gains; T:When the refrigerant changes from a liquid to a gas)
the refrigerant it
changes gains
from a liquid to a gas
T:When the refrigerant changes from a liquid to a gas