Yes, earthworms do have a front and a back end, although they might not be as easily recognizable as in other animals. The front end of an earthworm is called the anterior, which is where the mouth is located. The back end, or posterior, is where the anus is found.
When looking at an earthworm, you can usually tell the front from the back by observing its clitellum, a thickened, glandular section of the body that appears lighter than the rest of the worm. The clitellum is closer to the front end and plays an important role in reproduction.
Understanding the orientation of earthworms is important for gardeners and those studying soil health, as their movement and feeding patterns can affect the soil structure and nutrient cycling.