A solar cell is an unbiased pn junction that converts the energy of sunlight directly into electricity with a high conversion efficiency
Principle : A solar cell works on the photovoltaic effect in which an emf is produced between the two layers of a pn junction as a result of irradiation.