Here in Germany we have up to three months of almost zero solar production in winter due to foggy conditions (measured from my own solar inverter). It is not feasible to store summer electricity until winter in batteries. Batteries have self-discharge and would be hilariously expensive per KWh if they only cycle once a year. Chemical storage is probably the way to go here at least, and hydrogen can be used for many other useful things than just heating or running power plants.
Although there are many sunny countries where solar + one or two days of battery storage are probably enough for the full year.
If you've ever played Factorio you'll know that everyone makes batteries because they are cheap, but you also have the option to have a separate power grid that just doesn't get powered at night and shut down your factory at night, which you would do if you modded it so that you couldn't make batteries so easily.