Generate text that is semantically similar to this text: a battery uses a chemical reaction to maintain different electrical states at the terminals
the battery always has a voltage because there is a positive terminal and there is a negative terminal .