In order for a substance to change from a liquid to a gas,

heat must be taken away
heat must be added
heat could be either added or taken away
heat must be kept constant