We have been trying to harness the sun’s energy for most of our history in one way or another. However, it was the invention of the first photovoltaic cell by French physicist Edmond Becquerel in 1839 that finally made solar energy possible on a grander scale.
Here is an animated infographic that covers the science behind how solar panels work.