The state of an element or ion in a compound with regard to the electrons gained or lost by the element. Oxidation number. It is a number assigned to an element in a chemical compound that represents the number of electrons lost or gained by an atom of that element.