Heat convection inside Earth drives volcanoes and earthquakes that formed the oceans and the continents. Igneous rocks form when lava cools down. Plate tectonics and volcanoes form mountains. Weathering breaks down rocks into smaller components like pebbles and dirt.