Atoms join together through chemical bonds to form compounds with different properties than the original elements. When elements react, their atoms form ionic or covalent bonds. In ionic bonds, metals donate electrons to nonmetals to form positive and negative ions that attract each other. In covalent bonds, nonmetal atoms share electrons to form molecules that fill their outer shells. The properties of compounds are different than the starting elements because of the new electronic structures from bonding.