The Earth's layers are constantly changing due to internal heat and gravitational/solar energy. Convection currents in the mantle and lithospheric plates slowly moving due to mantle convection cause geological processes at plate boundaries. Plates can be converging, diverging, or moving conservatively parallel to each other, resulting in ocean ridges, trenches, and faults respectively. Plate dynamics produce volcanic eruptions, earthquakes, and shape the Earth's surface relief through mountain building and changing ocean basins over millions of years.