component. -->
Whether a metal becomes anode/oxidizes or cathode/reduces depends on its value. Measured in reference to hydrogen.
The metal with the least becomes the anode.