Here's why:
* Sodium (Na) has one valence electron, meaning it wants to lose that electron to achieve a stable octet (8 electrons in its outer shell) like the noble gas Neon.
* Chlorine (Cl) has seven valence electrons and wants to gain one electron to achieve a stable octet like Argon.
When sodium and chlorine react, sodium *donates* its electron to chlorine, forming Na+ and Cl- ions, which then attract each other electrostatically. This is an ionic bond.
Covalent bonding occurs when two or more atoms share electrons to achieve a stable octet. For example:
* Hydrogen (H) has one electron and needs one more to achieve a stable duet (2 electrons in its outer shell). Two hydrogen atoms can share their electrons to form a covalent bond in H2.
* Oxygen (O) has six valence electrons and needs two more to achieve a stable octet. In O2, two oxygen atoms share two pairs of electrons to form a double covalent bond.
Why do some atoms share while others transfer electrons?
The main factor determining whether an atom will form an ionic or covalent bond is the electronegativity difference between the atoms. Electronegativity is a measure of an atom's ability to attract electrons.
* Large electronegativity difference: If the electronegativity difference between two atoms is large (like sodium and chlorine), one atom will completely take the electron from the other, forming an ionic bond.
* Small electronegativity difference: If the electronegativity difference is small (like hydrogen and oxygen), the atoms will share electrons to achieve stability, forming a covalent bond.
In summary:
* Ionic bonds occur when there is a large electronegativity difference between atoms, leading to electron transfer.
* Covalent bonds occur when there is a small electronegativity difference between atoms, leading to electron sharing.