Solar panels use the sun to create energy which we use for power to charge batteries and run electrical appliances. You need about 20 panels to provide enough power to run a normal house.
However if there is no sun, the panels will not be able to create the energy we use.