In covalent bonds, atoms share electrons to reach a stable amount of valence electrons
In ionic bonds, electrons are transferred from one atom to another in order to reach octets. The ions then become attracted to each other via positive and negative charges.