Final answer:
Beryllium loses its two valence electrons to oxygen during reaction, forming beryllium ion (Be2+) and eventually leading to the creation of beryllium oxide (BeO).
Step-by-step explanation:
When beryllium reacts with oxygen, a transfer of electrons occurs. Beryllium is an element with two valence electrons in its 2s shell. During the reaction with oxygen, beryllium atom loses its two valence electrons to become a beryllium ion (Be2+). These electrons are then gained by oxygen atoms to fill their valence shells, thereby forming ionic bonds and a compound known as beryllium oxide (BeO).
Since beryllium is an alkaline earth metal with a relatively small size and high ionization energy, it forms molecular compounds more readily than ionic. In these molecular compounds, such as beryllium hydride (BeH2), beryllium does not achieve an octet structure but shares its electrons covalently.