The mhchem package adds \ce{...}, inside which chemistry is written the way it is spoken: digits become subscripts, charges follow a caret, -> is a reaction arrow and <=> an equilibrium. It is far shorter — and far more legible — than assembling the same formula out of subscripts by hand.
Step 15 of 17 of the LaTeX tutorial. The formula of the step, \ce{N2 + 3H2 <=> 2NH3} \quad \ce{SO4^2-}, opens in a live playground you can edit.
Write a LaTeX or mhchem formula and see it drawn as you type, save it as an SVG that opens again, learn the notation step by step, and practise it with graded exercises. The tool needs JavaScript, because the formulas are drawn in your browser.