The chemical formula of a compound is a symbolic representation of its composition.
Ions, free radicals, and other chemical species can also be represented using chemical formulas.
Chemical formulas provide insight into the elements that constitute the molecules of a compound and also the ratio in which the atoms of these elements combine to form such molecules.