Solidification is the process where a liquid turns into a solid when its temperature is lowered below the freezing point. Nucleation is the first step of solidification, where tiny stable nuclei are created in the liquid metal. There are two types of nucleation: homogeneous nucleation which occurs from clustering of atoms at high undercooling, and heterogeneous nucleation which occurs more commonly on surfaces like the mold walls or impurities. Once a nucleus reaches the critical size, growth will occur as more atoms attach in an exothermic process releasing heat, which must be removed for solidification to continue. Understanding nucleation and solidification is important for industrial casting and welding processes where metal melting and resolidification occurs.