A electricity inverter works by converting DC (direct current) power from a battery or other power source into AC (alternating current) power, which is what most household appliances and electronics use. This allows you to power your devices on the go, using your car or other battery-powered devices as the power source.