Which process occurs at the anode in an electrochemical cell?

(1) the loss of protons

(2) the loss of electrons

(3) the gain of protons

(4) the gain of electrons