Think of the Earth as an onion, composed of layers made of rocks of various temperatures, getting hotter as you go deeper. The outer layer, the crust, is pretty rigid and floats along on top of the mantle, which can flow (slowly). The mantle can flow because radioactive elements (uranium and thorium) left over from the formation of the earth provide the heat. The top layer, which we live on, is 7-35 km thick, out of a total of 6368 km, so the skin is 0.2% of the radius, really very thin.