A geological feature that occurs at subduction zones and rift valleys, and is formed when magma reaches the surface.