Solar panels require light to run, but with a battery backup, they are able to conserve the surplus of energy produced in the daytime. If you lack a battery backup, power will be drawn at night from the electricity grid.