Provide an example of covalent and ionic bonds

Covalent Bonding Example:

One example of a covalent bond is the molecule of water (H2O). In this molecule, each hydrogen atom shares one of its electrons with the oxygen atom. This sharing creates a strong covalent bond between the two hydrogen atoms and the oxygen atom, resulting in a stable water molecule.

Ionic Bonding Example:
An example of an ionic bond is common table salt, sodium chloride (NaCl). In this compound, sodium donates one electron to chlorine. The sodium atom becomes positively charged because it loses an electron, while the chlorine atom becomes negatively charged by gaining an electron. The opposite charges of sodium and chlorine ions attract each other, forming an ionic bond between them.