What are valence electrons used for by an element?

Redirected from "If an electode reaction has dssolved oxygen as a reactant, is the electrode an anode or a cathode?"