Photodiode

A photodiode is a type of photodetector capable of converting light into either current or voltage, depending upon the mode of operation.