The Earth is composed of three main layers - the crust, mantle, and core. The crust is the outermost layer and is made up of either dense oceanic crust or less dense continental crust. Below the crust lies the mantle, which is the thick middle layer of the planet. The core is at the center and is divided into a liquid outer core and solid inner core, both made primarily of iron.