A phase transition is a nonanalytic change in equilibrium behavior as a thermodynamic control parameter varies. A continuous phase transition has a diverging correlation length and no latent heat.
Articles by others on the same topic
TODO can anything interesting and deep be said about "why phase transition happens?" physics.stackexchange.com/questions/29128/what-causes-a-phase-transition on Physics Stack Exchange