A molecule is formed when two or more atoms join together chemically. A compound is a molecule that contains at least two different elements. All compounds are molecules but not all molecules are compound. The smallest bit of each of these substances would be referred to as a molecule.