Answer:Covalent bonding takes place when two or more nonmetal atoms share electrons to achieve stability. Instead of transferring electrons like in ionic bonds, the atoms involved in covalent bonding each contribute one or more electrons to form shared pairs.For example, in a water molecule (H₂O), the oxygen atom shares one electron with each of the two hydrogen atoms, forming two covalent bonds. This sharing creates a strong connection between the atoms and results in the formation of a molecule.