The earth has three main chemical layers: a core,mantle,and crust.These layers formed from a process calll during planetary accretion