How do Rechargeable Batteries Work?

A rechargeable battery works beacause electrical energy is applied to the battery, then the electron flow from negative to positive that occurs during discharge is reversed and power is restored. Pretty complex for us just plugging them into the wall!