Crust formation is the process by which the outermost layer of a planetary body solidifies and differentiates from the underlying mantle, playing a crucial role in the geological and tectonic evolution of the planet. This process involves complex interactions between magmatic activity, tectonic movements, and surface weathering, resulting in diverse crustal compositions and structures across different planetary bodies.