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