 See the discussion on strain gauges for details about devices constructed to take advantage of this effect.Some resistors, particularly those made from semiconductors, exhibit "photoconductivity", meaning that their resistance changes when light is shining on them.Therefore, they are called "photoresistors" (or "light dependent resistors").