Silkworms are a kind of worms which live on mulberry trees.
caterpillars
Actually, silkworms are not worms, but the larvae or caterpillars hatched from the eggs of the silk moth.
After hatching from the egg, the silk moth passes through the larva and pupa stages during its development and forms an adult silk moth.