Planetary differentiation is the process through which the Earth separated into different layers (core, mantle, crust) based on density. Heavier elements like iron sank to the center, forming the core, while lighter materials rose to form the mantle and crust. This process occurred early in Earth’s history due to intense heat and gravity.