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.