All pn junctions are photodiodes and LEDs, if the material is transparent at the relevant wavelength, since photons generate
electron-hole pairs and recombination can emit a photon (although the...