The worm in the picture is a planarian
What is a planarian
A planarian is a type of flatworm belonging to the class Turbellaria.
These aquatic or terrestrial worms are known for their unique ability to regenerate, as they can regrow complete organisms from fragments of their bodies.
Planarians are characterized by a flattened and elongated body, a soft texture, and a distinctive head region with simple eyes.
These organisms are typically found in freshwater environments, such as ponds.