Chemical reactions. The number of electrons in an atom's outermost valence shell governs its bonding behavior. ... As a general rule, a main group element (except hydrogen or helium) tends to react to form a closed shell, corresponding to the electron configuration s2p6.