Solar PV systems use cells to convert sunlight into electricity. The PV cell consists of one or two layers of a semi conducting material, usually silicon. When light shines on the cell it creates an electric field across the layers causing electricity to flow. https://teletype.in/@myppbb/BxHjza4Tot5