A hormone called Auxin, synthesised at the shoot tip helps the cells to grow longer. When light is coming from one side of the plant, auxin diffuses towards the shady side of the shoot. The concentration of auxin stimulates the cells to grow longer on the side of the shoot which is away from light. Thus the plant appears to bend towards light.