an electrochemical cell can be created by placing metallic electrodes into an electrolyte where a chemical reaction either uses or generates an electric current. electrochemical cells which generate an electric current are called voltaic cells or galvanic cells, and common batteries consist of one or more such cells. in other electrochemical cells an externally supplied electric current is used to drive a chemical reaction which would not occur spontaneously. such cells are called electrolytic cells.