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 ...
The reaction releases a lot of heat as the ionic compound sodium chloride is formed. A sodium and chlorine atom are near each other. An electron from each atom feels the attraction from the other atom ...