Answer:
Calcium atom has two valency electrons in its outermost energy level and these participate in bonding with the two of the six valency electrons in the outermost energy level of oxygen atom.
Calcium loses these two electrons and it gains a charge of +2 while Oxygen atom gains these two electrons and gains a charge of -2 hence gains stability
![Ca {}^(2 + ) \: \: and \: \: O {}^(2 - )](https://img.qammunity.org/2022/formulas/chemistry/high-school/xreim3n57roa4j9211nch2xe5x9h2otqqn.png)
As a result, Calcium oxide is formed due to ionic or electro valent bonding.
![CaO](https://img.qammunity.org/2022/formulas/chemistry/college/qpa0aj84txkl4whesmpweupzmlosvjcxvb.png)