Answer:
The number of electrons in an atom's outermost valence shell governs its bonding behaviour. Elements whose atoms have the same number of valence electrons are grouped together in the Periodic Table. ... Nonmetals tend to attract additional valence electrons to form either ionic or covalent bonds.