Butterflies go through a pupa or chrysalis state as they are transforming from caterpillar to adult.  They pupate, or form a coocoon as they transform into creatures of flight.