Volcanism includes the movement of molten rock (magma) onto or toward the earth's surface and also the formation of many…