Elements bond in fixed ratios and so can be represented by a chemical formula. For example, sodium chloride has the same number of sodium ions and chloride ions, so its formula is NaCl ...