An oxidation number is the total number of electrons an atom either acquires or loses to create a chemical bond with another atom.