The directional movement of a plant part/plant in response to light is called phototropism. The shoot responds by bending towards light while roots respond by bending away from the light. We know that the plant stem responds to light and bends towards it due to the action of auxin hormone. When sunlight comes from above, then the auxin hormone present at the tip of the stem spreads uniformly down the stem. Due to the equal presence of auxin, both the sides of the stem grow straight and with same rapidity.This is because auxin hormone moves away from the light.
Thus, more auxin hormone is present in the left side of stem as compared to the right. The left side of stem, grows faster than its right side and therefore, the stem bends towards the right side (direction of light).

The effect of auxin on the growth of a root is exactly opposite to that on a stem. Auxin hormone increases the rate of growth in stem but it decreases the rate of growth in a root. The side of root away from light will have all the auxin concentrated in it. Due to this, the side of root which is away from light will grow slower than the other side and make the root bends away from light.