An ion (/ˈaɪ.ɒn, -ən/) is an atom or molecule with a net electrical charge. The charge of an electron is considered to be negative by convention and this charge is equal and opposite to the charge of a proton, which is considered to be positive by convention. The net charge of an ion is not zero because its total number of electrons is unequal to its total number of protons.
A cation is a positively charged ion with fewer electrons than protons (e.g. K (potassium ion)) while an anion is a negatively charged ion with more electrons than protons (e.g. Cl (chloride ion) and OH (hydroxide ion)). Opposite electric charges are pulled towards one another by electrostatic force, so cations and anions attract each other and readily form ionic compounds. Ions consisting of only a single atom are termed monatomic ions, atomic ions or simple ions, while ions consisting of two or more atoms are termed polyatomic ions or molecular ions.