Generate text that is semantically similar to this text: a battery uses a chemical reaction to maintain different electrical states at the terminals
because the two terminals will always have different electrical states .