HOW DOES A BATTERY WORK