the earth has four layers the inner core, outer core, mantle and the crust. the crust is the layer we live on. the the thinnest bits of the crust are about five km thick.
the mantle is the 2nd layer it is the thickest layer of earth. the mantle has magma in it witch is also no in as lava. lava is the stuff that comes out of volcanoes. you can find diamond in the mantle. diamond gets transported in volcanoes.
outer core
the outer core is made of liquid iron and nickel. its the third layer.