Generate text that is semantically similar to this text: a battery uses a chemical reaction to maintain different electrical states at the terminals
a gap in the circuit does not affect the voltage of the battery .