The basic unit of panel is the photovoltaic cell that converts light directly into energy. It is made of silicon and is doped with phosphorus and nitrogen to free electrons. The electrons hit by photons are sent to the next cell. This procedure is repeated for the number of cells having a number of electrons in the output.