Furthermore, the group shell dictates the type of bonds an element can formgrp shell. Ionic bonds typically result when a metal loses electrons to a nonmetal, which gains those electrons. Covalent bonds occur when two nonmetals share electrons to achieve stability. The nature of these bonds affects the physical and chemical properties of the resulting compounds.