Ohk so i understood that
Galvanic cell converts chemical energy into electrical energy.
the redox reaction is spontaneous
An electrolytic cell converts electrical energy into chemical energy.
redox reaction is not spontaneous
So now in questions if Ecell is positive does it become galvanic cell and if ecell is -ve it becomes electrolytic?