Volcanology is the study of volcanoes, lava, magma, and related geological phenomena. A volcano forms when magma rises from deep in the Earth's mantle and erupts on the surface. As more magma rises, it forms a magma chamber and conduit leading to a vent. Eruptions through the vent build the volcano over time. There are four main types of volcanism related to mid-ocean ridges, subduction zones, hotspots, and flood volcanism. Heat sources for volcanism include radioactive decay, accretion during planetary formation, tidal effects, and core formation deep within the Earth.