Metem interview question

How does a battery work?