Three species of the extinct mid-Cretaceous genera Camelomecia and Camelosphecia were placed outside of the Formicidae, in a separate clade within the general superfamily Formicoidea, which, together with Apoidea, forms the higher-ranking group Formicapoidina.
[2] Fernández et al. (2021) suggest that the common ancestors of ants and apoids within the Formicapoidina probably existed as early as in the end of the Jurassic period, before divergence in the Cretaceous.
[10] Chrysidoidea Vespidae Rhopalosomatidae Pompilidae Mutillidae Tiphiidae Chyphotidae Scolioidea Apoidea Formicidae Myrmicinae Ectatomminae Heteroponerinae Formicinae Dolichoderinae Aneuretinae Pseudomyrmecinae Myrmeciinae Dorylinae‡ Ponerinae Agroecomyrmecinae Paraponerinae Proceratiinae Amblyoponinae Apomyrminae Leptanillinae Martialinae *Cerapachyinae is paraphyletic In 1966, E. O. Wilson and his colleagues identified the fossil remains of an ant (Sphecomyrma) that lived in the Cretaceous period.
[27][28] Ants occupy a wide range of ecological niches and exploit many different food resources as direct or indirect herbivores, predators and scavengers.
[38][39] Ants are distinct in their morphology from other insects in having geniculate (elbowed) antennae, metapleural glands, and a strong constriction of their second abdominal segment into a node-like petiole.
[41] Like other arthropods, ants have an exoskeleton, an external covering that provides a protective casing around the body and a point of attachment for muscles, in contrast to the internal skeletons of humans and other vertebrates.
Insects also lack closed blood vessels; instead, they have a long, thin, perforated tube along the top of the body (called the "dorsal aorta") that functions like a heart, and pumps haemolymph toward the head, thus driving the circulation of the internal fluids.
The nervous system consists of a ventral nerve cord that runs the length of the body, with several ganglia and branches along the way reaching into the extremities of the appendages.
[45] Based on experiments conducted to test their ability to differentiate between selected wavelengths of light, some ant species such as Camponotus blandus, Solenopsis invicta, and Formica cunicularia are thought to possess a degree of colour vision.
Such age-based task-specialization or polyethism has been suggested as having evolved due to the high casualties involved in foraging and defence, making it an acceptable risk only for ants who are older and likely to die sooner from natural causes.
[80] In C. elegans, workers may transport newly emerged queens to other conspecific nests where the wingless males from unrelated colonies can mate with them, a behavioural adaptation that may reduce the chances of inbreeding.
Energy is stored in a thick band of muscle and explosively released when triggered by the stimulation of sensory organs resembling hairs on the inside of the mandibles.
If combat takes a turn for the worse, a worker may perform a final act of suicidal altruism by rupturing the membrane of its gaster, causing the content of its mandibular glands to burst from the anterior region of its head, spraying a poisonous, corrosive secretion containing acetophenones and other chemicals that immobilise small insect attackers.
[112][113] Workers of Cataulacus muticus, an arboreal species that lives in plant hollows, respond to flooding by drinking water inside the nest, and excreting it outside.
It is believed that many ant species that engage in indirect herbivory rely on specialized symbiosis with their gut microbes[125] to upgrade the nutritional value of the food they collect[126] and allow them to survive in nitrogen poor regions, such as rainforest canopies.
[128] Foraging ants travel distances of up to 200 metres (700 ft) from their nest[129] and scent trails allow them to find their way back even in the dark.
In hot and arid regions, day-foraging ants face death by desiccation, so the ability to find the shortest route back to the nest reduces that risk.
Distances travelled are measured using an internal pedometer that keeps count of the steps taken[130] and also by evaluating the movement of objects in their visual field (optical flow).
Some of the dominant bacteria belong to the order Hyphomicrobiales whose members are known for being nitrogen-fixing symbionts in legumes but the species found in ant lack the ability to fix nitrogen.
The ant Allomerus decemarticulatus has evolved a three-way association with the host plant, Hirtella physophora (Chrysobalanaceae), and a sticky fungus which is used to trap their insect prey.
In Fiji Philidris nagasau (Dolichoderinae) are known to selectively grow species of epiphytic Squamellaria (Rubiaceae) which produce large domatia inside which the ant colonies nest.
[191] A nematode (Myrmeconema neotropicum) that infects canopy ants (Cephalotes atratus) causes the black-coloured gasters of workers to turn red.
Direct kleptoparasitism (birds stealing food from the ants' grasp) is rare and has been noted in Inca doves which pick seeds at nest entrances as they are being transported by species of Pogonomyrmex.
[210] In the Colombian department of Santander, hormigas culonas (roughly interpreted as "large-bottomed ants") Atta laevigata are toasted alive and eaten.
Mashed up in water, after the manner of lemon squash, "these ants form a pleasant acid drink which is held in high favor by the natives of North Queensland, and is even appreciated by many European palates".
[214] In his First Summer in the Sierra, John Muir notes that the Digger Indians of California ate the tickling, acid gasters of the large jet-black carpenter ants.
Chemical methods include the use of insecticidal bait which is gathered by ants as food and brought back to the nest where the poison is inadvertently spread to other colony members through trophallaxis.
[216] Studies on ants have tested hypotheses in ecology and sociobiology, and have been particularly important in examining the predictions of theories of kin selection and evolutionarily stable strategies.
This area of biomimetics has led to studies of ant locomotion, search engines that make use of "foraging trails", fault-tolerant storage, and networking algorithms.
Renowned myrmecologist E. O. Wilson wrote a short story, "Trailhead" in 2010 for The New Yorker magazine, which describes the life and death of an ant-queen and the rise and fall of her colony, from an ants' point of view.