“Caterpillars basically dissolve into liquid in the cocoon. The only thing left are the so called ‘imaginal discs’, groups of cells that contain all the information and the mechanism to turn that soup into the various body parts of a butterfly (the same applies for other insects).”
"Life That Glows" by Sr David Attenborough is amazing to see.
Lots of animals give off light. Humans too.