 Melted rocks and other more volatile planetary materials are transferred from the mantle to surface via localised vents.Melts cool down and solidify forming layers of cool volcanic materials.Newly erupted materials deposit on top of and bury older layers.