There are two fundamentally different kinds of chemical bonds (covalent and ionic) that cause substances to have very different properties. The atoms in chemical compounds are held together by attractive electrostatic interactions known as chemical bonds. The molecular formula of a covalent compound gives the types and numbers of atoms present. Diatomic molecules contain two atoms, and polyatomic molecules contain more than two.
Mhasson