Ant nest beetle can produce explosive secretions, giving them the other name of flanged bombardier beetles although they are not particularly close relatives of the typical bombardier beetles (Brachininae). Very little is known about the immature stages of ant nest beetles. Most appear to live in ant nests in their early stages of life. Although many are facultative or obligate myrmecophiles, most do not appear like ants (i.e. myrmecomorphic) and unlike in the case of myrmecophilous larval Lycaenidae, there appears to be no benefit gained by the ants in this association. Many species follow the trails of worker ants of specific species. Glandular
Ant temperature by choosing the location, nest materials, controlling ventilation and maintaining the heat from solar radiation, worker activity and metabolism, and in some moist nests, microbial activity in the nest materials. Some ant species, such as those that use natural cavities, can be opportunistic and make use of the controlled micro-climate provided inside human dwellings and other artificial structures to house their colonies and nest structures. Most ants are generalist predators, scavengers, and indirect herbivores, but a few have evolved specialised ways of obtaining nutrition. It is believed that many ant species that engage in indirect herbivory rely on specialized