Here's why:
* Covalent bonding involves the sharing of electrons between atoms.
* Nonmetals generally have a high electronegativity (a tendency to attract electrons).
* When nonmetals bond, they share electrons to achieve a stable electron configuration, rather than transferring electrons like in ionic bonding.
Examples of covalent compounds:
* Water (H₂O)
* Carbon dioxide (CO₂)
* Methane (CH₄)
* Ethanol (C₂H₅OH)
Important Note: While nonmetals typically form covalent compounds, there are exceptions, such as hydrogen (H) which can form covalent bonds with nonmetals and ionic bonds with metals.