The butterfly life cycle, during which it changes from caterpillar to butterfly, consists of four stages: egg, larva, pupa and adult. During the pupa stage, the caterpillar's body shelters inside a chrysalis, gradually turning to liquid. At the end of the transformation it emerges as a butterfly.