The difference between photovoltaic cells and diodes