is mg an acid or base?
For example, it would react with dilute hydrochloric acid to produce sodium chloride solution. Magnesium oxide is again a simple basic oxide, because it also contains oxide ions. However, it isn't as strongly basic as sodium oxide because the oxide ions aren't so free.