Special chemical reactions which occur inside the electrical cell, result in oxidation and reduction of the substances inside the cell. This produces electrical energy. Normal batteries work like this.