A sensor of light is:

Transistor

Light dependent Resistance.

Diode

LED