The correct answer is:
a. fill outer electron energy levels.
Both ionic and covalent compounds involve interactions between atoms that ultimately lead to the filling of their outer electron energy levels, allowing them to achieve a more stable electronic configuration. In ionic compounds, this is done by transferring electrons, while in covalent compounds, it is done by sharing electrons.