An inverter converts electricity stored in a battery into usable power for compatible appliances. When connected to suitable solar panels, the system can also use energy from sunlight to charge the battery, depending on its specifications and installation.