The smallest part of the solar rooftop array is the PV cell; when people
ask how do solar panels work, this is the place to start. Each PV cell has two layers of silicon held by metal plates; the plates connect to a thin wire. In the top layer, the silicon has been doped, or treated, with phosphorous, giving it a negative charge.