See Inside a Butterfly Chrysalis
Just like everyone else, you learned about how a caterpillar turns into a butterfly (or moth) inside a chrysalis (or cocoon) and you desperately tried to envision what happens inside and what it looks like. Scientists who’ve opened a lot of chrysalises will tell you the caterpillar turns to goop and then a butterfly, but that’s not completely accurate, and the process of opening one destroys the structure anyway.