cocoon
A cocoon is the silky envelope spun by the larvae of many insects, as silkworms, serving as a covering while they are in the pupal stage.

metamorphosis

Metamorphosis is the process by which an animal physically changes after birth or hatching.