Photo diode is used for detection of:

Light

Heat

Current

Magnet