Caterpillars' bodies “melt" almost completely before morphing into butterflies in the chrysalis. In order for the change from a caterpillar to a butterfly to take place within the pupa, the caterpillar begins releasing enzymes that literally digest nearly all of its own body. What's left inside the chrysalis is mostly just a very nutrient rich soup from which the butterfly will begin to form.