Before having the aspect that we know, the ant goes through 3 stages: egg, larva and pupa (with or without a cocoon).