... nitrogen (forming magnesium nitride), carbon dioxide (forming magnesium oxide and carbon) and water (forming magnesium oxide and hydrogen). ... , and other electronic components. In magnesium compoundsMagnesium compounds, primarily magnesium oxide (MgO), are used as a refractory ... steel, nonferrous metals, glass and cement. Magnesium oxide and other magnesium compounds are also used in the agricultural, ...