ANSWER
Oxygen
Step-by-step explanation
Magma is the molten or semi-molten natural materials from which all igneous rock is formed
Magma is composed of a mixture of molten materials with varying amounts of dissolved gases and small amount of solid materials.
Magma contains 46.6% of oxygen which is more than half of the total dissolved gases
Therefore, the most abundant element in magma is oxygen