The life cycle of an ant has 4 stages:
An adult queen (female) ant lays an egg on a leaf
The larva becomes a pupa
The egg becomes a caterpillar
A female lays an egg on a leaf.
The life cycle of a butterfly has 4 stages:
The caterpillar becomes a chrysalis
The chrysalis changes into a butterfly
The egg becomes a larva
The pupa changes into an ant