Generate text that is semantically similar to this text: a battery uses a chemical reaction to maintain different electrical states at the terminals
it always has the same voltage due to a chemical reaction inside of it