Solar panels produce electricity from sunlight during the day.
Most grid-connected solar systems stop when power goes off.
The system shuts down for safety reasons.
Solar panels with battery backup continue supplying power.
For power cuts, solar + battery is the real solution.