Endopterygota

The Endopterygota (or Holometabola), are insects of the subclass Pterygota.
They have complete metamorphosis. This means they go through different larval, pupal, and adult stages. The larval and adult stages differ very much in their anatomy and behavior. This is called holometabolism, or complete metamorphism.
They are distinguished from the Exopterygota (or Hemipterodea) by the way in which their wings develop. Endopterygota ("internal winged forms") develop wings inside the body during metamorphosis.
The earliest endopterygote fossils date from the Carboniferous.