Ignorant question.
During the day the panels charge batteries that are used during the night time.
Sorry I thought you were being snarky.
Re: “During the day the panels charge batteries that are used during the night time.”
Electrical storage devices are very expensive, for individual homes and for large commercial projects.
Can you give me a link for any solar installation where a solar + battery system is operating at a practical and unsubsidized cost?