The power train carries power from the engine crankshaft to the car wheels so the wheels rotate and car moves.
Since all roads are not perfectly smooth, and the transmission is fixed, the drive shaft has to be flexible to absorb the shocks of bumps in the road.
When the car is on straight road, the ring gear, differential case, differential pinion gears, and two differential side gears all turn as a unit without any relative motion.