reddit.comreddit.com › r › explainlikeimfiver/explainlikeimfive on Reddit: Eli5, How the hell do solar panels work?
When light with enough energy comes in, it knocks an electron off with enough energy to cross the depletion zone (the wrong way), which gives it enough potential energy to do work. We send the electron on it way down a wire where it can be used as electricity. Imagine it like a slide. The light lets the electrons climb a ladder and lets it slide down (move through the wire) until they eventually make it all the way through the circuit and back to the ladder. Fun fact: solar panels are the only power generation method we use that produces DC current rather than AC.