A chemical bond is a lasting attraction between atoms, ions or molecules that enables the formation of chemical compounds. The bond may result from the electrostatic force of attraction between oppositely charged ions as in ionic bonds or through the sharing of electrons as in covalent bonds.
Chemical bonds are formed by gaining, yielding or sharing electrons to reach stable electronic configurations such as those of noble gases. Electropositive atoms give up electrons to complete the most stable configuration, leaving them with a negative charge defect.
hope this help