A solar cell is a device that uses the photoelectric effect to generate electricity from light