The oxidation state of an atom indicates the number of electrons an atom has gained or lost. It represents the effective charge of an atom in a compound due to the transfer of electrons.