Here's a breakdown:
* Cation: This is typically a metal or a positively charged polyatomic ion (like ammonium, NH₄⁺).
* Anion: This is typically a nonmetal or a negatively charged polyatomic ion (like sulfate, SO₄²⁻).
Examples:
* NaCl: Sodium (Na) is the cation and Chlorine (Cl) is the anion.
* K₂SO₄: Potassium (K) is the cation and sulfate (SO₄²⁻) is the anion.
* NH₄Cl: Ammonium (NH₄⁺) is the cation and Chlorine (Cl) is the anion.
Exceptions:
* Organic compounds: In organic compounds, carbon (C) is usually listed first, followed by hydrogen (H) and then other elements in alphabetical order.
* Binary compounds: In some binary compounds, like carbon dioxide (CO₂), the element with a higher electronegativity comes first (oxygen in this case).
Overall, the most common rule is that the cation comes first, followed by the anion.