The caterpillar eats leaves and makes a chrysalis.