A hybrid inverter is a device that combines a battery charger, a MPPT controller and an inverter (220V) pure sinus. An important part of the hybrid inverter is electronics, which allows switching to electricity from a network or an generator.
The pure sine inverter converts direct current from solar panels to alternating current that directly supplies electrical consumers.
In cases where solar energy is out of the solar panels (when it's cloudy) and batteries, you can set a priority for electric consumers to start charging from a network or an generator. In this case, batteries are also charged.