A caterpillar is the larval stage of an insect in the order Lepidoptera (which includes butterflies and moths). Caterpillars hatch from eggs and undergo several stages of growth, known as instars, before they pupate and eventually become adult butterflies or moths.