Atoms can combine to form compounds with different properties than the individual elements. A compound consists of two or more elements chemically bonded together. The smallest unit of a compound that retains the properties is a molecule. Chemical formulas use symbols for the elements and subscripts to indicate the number of atoms in a compound or molecule. Some elements exist as diatomic molecules that contain only two identical atoms bonded together.