Here's why:
* Chlorine atom: Chlorine has 17 electrons, with 7 in its outermost shell (valence shell). It wants to have a full outer shell of 8 electrons for stability.
* Chloride ion: By gaining one electron, chlorine achieves a full outer shell of 8 electrons. This gives it a negative charge, making it a chloride ion (Cl⁻).