ELI5: how do solar panels work? : r/explainlikeimfive
Solar panels work by something called the photovoltaic effect. Basically, light consists of packets of energy called photons. When photons hit atoms they can "excite" the electrons. You can think of it as the photons knocking the electrons out of their orbit, usually into a higher orbit, but sometimes they can completely dislodge an electron ...