Photoresistors, also commonly referred to as light-dependent resistors (LDRs), are a class of variables resistors which change their resistance depending on how much light is hitting the resistor.