It is made up of two parts: an outer core and an inner core. The outer core is composed of liquid, whereas the inner core is composed of solid. Iron and nickel make up the majority of the core. The magnetic field, which protects the Earth from high-energy particles in the solar wind, is generated by the Earth’s core.