The three main layers of the Earth are: