Ants are social
Eusociality is a term used for the highest level of social organization in a hierarchical classification....

Insects are a class of living creatures within the arthropods that have a chitinous exoskeleton, a three-part body , three pairs of jointed legs, compound eyes, and two antennae...

s of the family Formicidae (icon) and, along with the related wasp
The term wasp is typically defined as any insect of the order Hymenoptera and suborder Apocrita that is neither a bee nor an ant. Almost every pest insect species has at least one wasp species that preys upon it or parasitizes it, making wasps critically important in natural control of their...

s and bee
Bees are flying insects closely related to wasps and ants, and are known for their role in pollination and for producing honey and beeswax. Bees are a monophyletic lineage within the superfamily Apoidea, presently classified by the unranked taxon name Anthophila...

s, belong to the order Hymenoptera
Hymenoptera is one of the largest orders of insects, comprising the sawflies, wasps, bees and ants. There are over 130,000 recognized species, with many more remaining to be described. The name refers to the heavy wings of the insects, and is derived from the Ancient Greek ὑμήν : membrane and...

. Ants evolved
Evolution is any change across successive generations in the heritable characteristics of biological populations. Evolutionary processes give rise to diversity at every level of biological organisation, including species, individual organisms and molecules such as DNA and proteins.Life on Earth...

 from wasp-like ancestors in the mid-Cretaceous
The Cretaceous , derived from the Latin "creta" , usually abbreviated K for its German translation Kreide , is a geologic period and system from circa to million years ago. In the geologic timescale, the Cretaceous follows the Jurassic period and is followed by the Paleogene period of the...

 period between 110 and 130 million years ago and diversified
Evolutionary radiation
An evolutionary radiation is an increase in taxonomic diversity or morphological disparity, due to adaptive change or the opening of ecospace. Radiations may affect one clade or many, and be rapid or gradual; where they are rapid, and driven by a single lineage's adaptation to their environment,...

 after the rise of flowering plant
Flowering plant
The flowering plants , also known as Angiospermae or Magnoliophyta, are the most diverse group of land plants. Angiosperms are seed-producing plants like the gymnosperms and can be distinguished from the gymnosperms by a series of synapomorphies...

s. More than 12,500 out of an estimated total of 22,000 species have been classified.