How a battery works
When we connect an almost flat battery to an external electricity source, and send energy back in to the battery, it reverses the chemical reaction that occurred during discharge. This sends the positive ions released from the anode into the electrolyte back to the anode, and the electrons that the cathode took in also back to the anode.