Molecules are composed of two or more atoms that are chemically bonded together. They are the smallest units of a chemical compound that retains the chemical properties of that compound. Molecules can be simple, such as the oxygen molecule (O2), or complex, like the DNA molecule.