please help me on this!

A rock has been sent on a journey down through the layers of the Earth until it reaches the inner core. Explain what happens to the atoms in the rock as it moves through each layer.