Shoots grow away from gravity, but grow towards sunlight
Roots grow away from sunlight, but grow towards gravity
Auxins are produced in the meristem and control the growth of shoots.
If light is on one side of a plant, auxins collect on the shady side, causing the cells to elongate. The uneven elongation causes the plant to bend towards the light.