In a chemical formula, the elements in a compound are represented by their chemical symbols, and the ratio of different elements is represented by subscripts. Consider the compound water as an example.
Explanation:
Each water molecule contains two hydrogen atoms and one oxygen atom.