Solar cells are used to capture solar energy and create electricity in most solar panels. ... Most importantly, each cell contains everything necessary to transform sunlight directly into clean electricity. All the other components are used only to increase output and transform the electricity from DC to AC electricity.Sep 29, 2015