The specific temperature at which a substance changes from a solid to a liquid state (melting) or from a liquid to a solid state (freezing).