How does a battery create current?