compound or a simple element.
For example O2 is a chemical formula and represents the element oxigen, because it exists as a diatomic molecule in the air.
NaCl is a chemical formula and represents sodium chloride
CH4 is a chemical formula and represents methane.