A molecule is a group of two or more atoms joined together by covalent bonds. Molecules of the same element or compound always contain the same number of atoms of each element.
The atoms in a molecule are always joined together by a covalent bond.
Substances that are made up of ions do not form molecules.