oxidation number indicates the charge of an atom alone or in a molecule
For instance, in the molecule H2O2 (hydrogen peroxide), oxygen has an oxidation number (and a charge) of -1.Also when oxygen is part of a superoxide its oxidation number is -0.5. When oxygen is bound to fluorine, its oxidation number is +2.