Compositional and Mechanical Layers of the Earth