How does a 12 Volt Battery Charger Work?

A 12 volts battery charger is composed of a step down transformer with an output of 12 volts and an electronic circuit that converts AC current to DC current which is needed to charge the battery.