This is a special type of resistor and is sometimes called an LDR. Photoconductors are made so that their resistance decreases as the level of light falling on them increases.