SLB interview question

How does a battery work