A caterpillar, or larva, prepares for its last molt when it will change into a pupa or chrysalis.