Science Buddies- Light-Following Robot
As the light increase, the photocell resistance decreases, increasing the voltage to the base of the transistor, causing it to turn on once it exceeds the threshold.
For more explanation, see Sparkfun transistor tutorial at https://learn.sparkfun.com/tutorials/transistors
Circuit shown below: