The inverter will when you are not connected to shore, or the generator, convert 12 volts to 120 and supply the outlets and appliances they are wired to. When you plug into shore power, or start the generator, the invertor simply allows the voltage and current to pass through.
__________________
|