The digestive system of the earthworm consists of the alimentary canal and the digestive glands. the alimentary canal runs as a straight tube throughout the length of the body from the mouth to anus. the mouth opens into the buccal cavity which occupies the 1 and 2 segments