Crustal differentiation is the process by which the Earth's crust evolves to form distinct layers with varying compositions, primarily driven by magmatic activity, partial melting, and fractional crystallization. This process results in the formation of continental and oceanic crust, each with unique mineralogical and chemical characteristics, influencing tectonic activity and the Earth's surface evolution.