Caterpillars hang upside down from a twig or branch and spin a cocoon around their bodies. Their bodies transform while in the cocoon, and when they they are totally different insects with wings.