Earthworms do not have a genuine heart because they are worms, but they do have aortic arches, which connect ventral and dorsal veins and pump blood.
An earthworm is a terrestrial invertebrate, which means it doesn't have a heart and has an open circulatory system. The circulatory system of earthworms, on the other hand, is closed.
The blood circulates through three main channels in earthworms. Aortic arches, ventral blood vessels, and dorsal blood vessels are the vessels in question. These aortic arches connect dorsal and ventral veins and pump blood throughout the body, much like a human heart.
Blood is carried to the front of the earthworm's body by dorsal blood vessels, while blood is carried to the back of the earthworm's body by ventral blood vessels.