Cocoon
A cocoon is a protective casing spun by the larvae of some insects, most notably many moth caterpillars, during metamorphosis from larva to pupa. The outer covering is typically made of silk produced by the larva's salivary glands, though some cocoons incorporate plant material or other substances.
In species that spin cocoons, the larva secretes silk and crafts a chamber around itself as it
Silk production is the best-known example of cocoon use. Domesticated silkmoths, particularly Bombyx mori, spin cocoons
Not all Lepidoptera create cocoons. In many butterflies, the pupa is exposed and called a chrysalis rather