An LDR, or light dependent resistor, is a light-sensitive device whose resistivity decreases with increasing intensity of light. It is made from semiconductor materials with a high resistance. When light photons having greater energy than the material's band gap fall on the device, electrons in the valence band are excited to the conduction band, increasing the number of charge carriers and reducing resistance. LDRs are classified as intrinsic, made of pure semiconductors, or extrinsic, made with impurity dopants that decrease the required photon energy. An LDR can be used in a circuit with a transistor so that light turning the LDR on will activate the transistor and power an LED.