It is a device that acts as a pump which pushes electrons around the circuit. The electrons are generated from a chemical structure present in the cell.
The cell therefore converts chemical energy into electrical energy.