Substances have a certain ability to hold together, with water as the example even in a vacuum it will freeze solid when cold enough; it takes energy to overcome that tendency to melt or evaporate it.
Pressure helps by pushing from the outside, making them hold together better, meaning it takes more energy (heat) to get the water to split apart (evaporate/boil)
Latest Answers