Generate text that is semantically similar to this text: a battery uses a chemical reaction to maintain different electrical states at the terminals
" the electrical state difference between the battery " " s two terminals "