The positive and negative ions attract each other and form the ionic compound sodium chloride. One calcium and two chlorine atoms are near each other. An electron from each atom feels the attraction ...
If the compound contains three elements one of which is oxygen then the compound name will end in –ate or –ite, eg Calcium carbonate ... contains one carbon atom joined to one oxygen atom ...