The answer is 1) electrical energy spontaneously
A voltaic cell is an electrochemical cell driven by a spontaneous chemical reaction and produces an electrical energy. The general form of reaction is
reagents → products + electrical energy.
This reaction is spontaneous.
However, the reverse reaction is nonspontaneous and it requires electrical energy.