It’s magic! You can take 12 volts DC from a battery and turn it into 120 volts AC ready to power all your devices. In fact, the more you know about how electricity works, the more impressive that magic becomes.
The magic all happens in a device called an inverter. They come in different sizes – from something that might just power a small stereo all the way up to something that can run a whole house worth of devices.