From a thermodynamics point of view, at the melting point the change in Gibbs free energy ∆G of the substances is zero, but there are non-zero changes in the enthalpy (H) and the entropy (S), known respectively as the enthalpy of fusion (or latent heat of fusion) and the entropy of fusion. Melting is therefore classified as a first-order phase transition. Melting occurs when the Gibbs free energy of the liquid becomes lower than the solid for that material. The temperature at which this occurs is dependent on the ambient pressure.