Caterpillars form a chrysalis. Chrysalis are formed by hardening bodily secretions. Caterpillars will go inside this protective shell to transform into a butterfly.