Light Depending Resistor/ Arduino.
Light Depending Resistor (LDR).
a LDR does exactly what it says on the tin, it measure the amount of light around it and using the recordings it takes in, it alters the way the LED on the circuit behaves.
so the more light the LDR is sensing the more light the LED emits, the less light that is sensed the lest amount of light it emits and everything in between this allows you to make the LED fade in and out if you slowly cover and uncover the LDR.