Chemical bonding is the process by which atoms are held together to form compounds. There are three main types of chemical bonds: ionic, covalent, and metallic.
In ionic bonding, one or more electrons are transferred from one atom to another. This results in the formation of positively charged ions (cations) and negatively charged ions (anions). These ions are then attracted to each other by electrostatic forces, forming an ionic bond. Ionic bonds are typically formed between metals and nonmetals.
In covalent bonding, atoms share one or more pairs of electrons. This sharing of electrons creates a bond between the atoms. Covalent bonds are typically formed between nonmetals and nonmetals. There are two types of covalent bonds: polar covalent bonds and nonpolar covalent bonds. In polar covalent bonds, the electrons are unequally shared between the atoms, while in nonpolar covalent bonds, the electrons are equally shared.
In metallic bonding, electrons are delocalized and free to move throughout the metal. This creates a "sea of electrons" surrounding positively charged metal ions. The attraction between the delocalized electrons and the positive metal ions forms the metallic bond. Metallic bonding is typical of pure metals and allows for properties such as conductivity and malleability.