Answer:
Silkworms weave themselves a covering called a cocoon, to protect them while they transform into moths. The caterpillar produces a sticky liquid from special glands next to its mouth. The liquid sets into a single long thread that winds around and around the caterpillar.