The vapour pressure of a liquid increases with increase of temperature, boiling point is the temperature at which the vapour pressure becomes equal to the atmospheric pressure
The freezing point of a substance is the temperature at which the vapour pressure of the substance in its liquid phase is equal to its vapour pressure in the solid phase