Earth's core is primarily composed of iron (Fe), which makes up about 85% of its mass, along with nickel and lighter elements. The inner core is solid iron-nickel alloy, while the outer core is liquid iron. This iron core generates Earth's magnetic field through convection currents.