No, a solar generator and a solar battery are different things.
A solar generator is a complete system, while a solar battery is a means to store generated power for later use. It is important to remember that a generator consists of four main components working together to provide usable energy to your home. A vital part of a generator is a solar battery, which holds power until it is time to use the stored electricity. That is how solar generators work at night.
Solar batteries are essential to finding sustainable energy that can work in all conditions. Solar batteries will work with a generator, solar panel, and inverter to create usable electricity. Although it is typical to have a solar battery charging from solar panels, charging a battery using utility company electricity from the power grid is also usually an option. You could also charge the battery using a gas generator if necessary.
Like any solar array, power input can depend on the number of usable photons coming from the sun. When available sunlight and photons are limited, a solar battery allows homeowners to use stored energy to power their appliances. Solar batteries are usually lithium-ion batteries and are integrated into a generator. These batteries lose their charge-holding capacity over time, see “How Long Do Solar Generators Last?“