Answer:
Voltaic cells convert chemical energy to electrical energy by means of an oxidation-reduction reaction. Electrolytic cells convert electrical energy to chemical energy, so they are the opposite of voltaic cells. They require an input of electrical energy to cause an oxidation-reduction reaction
Explanation:
A Galvanic cell converts chemical energy into electrical energy. An electrolytic cell converts electrical energy into chemical energy. Here, the redox reaction is spontaneous and is responsible for the production of electrical energy. I hope this is helpful.