Final answer:
The longitudinal muscles and the circular muscles in earthworms help them move through their environment by expanding and contracting the body segments.
Step-by-step explanation:
The longitudinal muscles and the circular muscles in earthworms help them move through their environment by expanding and contracting the body segments. The longitudinal muscles run lengthwise along the earthworm's body, and when they contract, they lengthen the body and extend the anterior end of the organism. The circular muscles encircle the body segments, and when they contract, they shorten the body and draw the posterior portion of the body forward. This alternating contraction and relaxation of the longitudinal and circular muscles create waves of muscular contractions that allow the earthworm to move through its environment.