Here's a breakdown of the Earth's layers:
* Crust: The thin, outermost layer, composed of solid rock.
* Mantle: The thickest layer, mostly solid rock but with a partially molten layer called the asthenosphere.
* Outer Core: A layer of liquid iron and nickel, extremely hot and under immense pressure.
* Inner Core: A solid sphere of iron and nickel, despite being even hotter than the outer core due to immense pressure.
The liquid metal in the outer core is responsible for generating Earth's magnetic field.