Answer:
In voltaic cell or a Galvanic cells, energy comes from the spontaneous chemical reactions or Chemical energy and this energy is consumed by electric cells and consumes electrical energy.
Step-by-step explanation:
The chemical energy is converted into electrical energy which is used to derive non-spontaneous reaction.