Answer
They allow the worm to move via graduated contraction along its body segments.
Work Step by Step
Worms have an unusual form of motility that involve contracting and releasing their body segments individually. Without this segmentation, this movement would be much less effective.