A handful of commands decorate rather than compute: \boxed{} frames a result, \underbrace{}_{} and \overbrace{}^{} group a run of terms with a label, and \text{} drops back into words in the middle of a formula.
Step 16 of 17 of the LaTeX tutorial. The formula of the step, \boxed{\underbrace{a + b + c}_{\text{three terms}} = \overbrace{x + y}^{\text{two}}}, 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.