Water, which is a chemical compound of hydrogen and oxygen in the ratio two hydrogen atoms for every oxygen atom, contains H2O molecules. Sodium chloride is a chemical compound formed from sodium (Na) and chlorine (Cl) in a 1:1 ratio.