Ant nest beetle secretions on their antennae and body allow them to interact with ant workers. It is believed that the beetles use an acoustic mechanism to successfully imitate the sounds of an ant queen thus permitting them access to the nest without alarming the ants. The defensive bombardier behaviour is never used against ants. Males of some species are attracted to lights during some parts of the season and are thought to disperse from one ant nest to another. Males are thought to be short-lived. These beetles feed on ant eggs, larvae and adults by piercing their mandibles into the abdomen or
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