Inside the Earth, the temperature increases with depth. The intense heat in the core and lower mantle causes the rocks in the mantle to melt, forming the molten rock called magma. As the magma is less dense than the surrounding solid rocks, it rises upwards under the influence of buoyancy. As it rises, it cools and becomes denser, causing it to sink back down. This cycle of heating, rising, cooling, and sinking creates convection currents within the mantle.
These convection currents transport heat from the Earth's deep interior to the surface. As the hot magma reaches the surface, it can erupt through volcanoes, releasing heat and other materials into the atmosphere. The movement of tectonic plates, which are the large segments of the Earth's crust, is also influenced by these convection currents. The convection currents in the mantle play a vital role in shaping the Earth's surface features and driving geological processes.