Oxygen gains two electrons when it bonds to form a complete outer shell and magnesium loses two electrons when bonding to gain its full outer shell.
As electrons are negative, the oxygen (which gains electrons) will become negative and the magnesium (which loses electrons) will become positive.
The negative and positive ions will then attract to one another due to the magnetic pull of the positive and negative.
Answer:
Coal is layered because it is a type of sedimentary rock
Explanation: