Context: The model below represents magnesium oxide. Magnesium oxide is used to help purify water.
Complete the statement.
Magnesium oxide is ().
A. an elementary substance
B. a compound
Determine the correct option from the provided choices and reply with its corresponding letter.

B