How is a battery made?