As the solution cools the molecules slow their stochastic dance and the liquid is less able to keep the substance dissolved.
As a threshold is crossed the power of solution fails and atom by atom molecule by molecule the substance crystallizes plane by plane layer by layer the form of the substance gives rise to a growing crystal revealing in its structure the nature of itself.