magma is generated in the subduction zone by the partial melting of the oceanic crust, it rises through the upper plate, mixing with minerals, rock and sediment from the overlying plate, if it makes it to the surface it is extruded through composite volcanoes usually in mountain belts (volcanic arc)