The Earth is composed of several concentric layers. The inner core is solid and suspended in the molten outer core, which generates the Earth's magnetic field through convection. Below this is the lower mantle, composed primarily of silicon, magnesium and oxygen. The upper mantle extends from 10-400km deep and includes olivine and pyroxene minerals, and may partially be molten. Above this is the transition region that includes basaltic magmas and minerals like garnet. The outermost layers are the oceanic and continental crusts, the former made of basalt from sea floor spreading and the latter composed mainly of low-density minerals like quartz and feldspar.