Generate text that is semantically similar to this text: the terminals must have a difference in electrical states to have voltage
a battery uses a chemical reaction to maintain different electrical states at the terminals