No, not every molecule is a compound.
In chemistry, a molecule refers to a group of atoms held together by chemical bonds. It can consist of two or more atoms of the same element, forming a molecule of an element (e.g., O2 for oxygen or N2 for nitrogen). These are known as diatomic molecules.
On the other hand, a compound is a type of molecule that contains atoms of different elements chemically bonded together. Compounds are formed when atoms of different elements combine in fixed ratios. For example, water (H2O) is a compound composed of two hydrogen atoms and one oxygen atom.
So, while all compounds are molecules, not all molecules are compounds. Molecules of elements, consisting of identical atoms bonded together, are not considered compounds.