Chemical compound, any substance composed of identical molecules consisting of atoms of two or more chemical elements. ... The fundamental principle of the science of chemistry is that the atoms of different elements can combine with one another to form chemical compounds.
Sodium (NA) the sodium atom is donating its 1 valence electron to the chlorine atom. This creates a sodium cation and a chlorine anion. Notice that the net charge of the resulting compound is 0.