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 colony. This allows other ants to detect what task group (e.g., foraging or nest maintenance) other colony members belong to. In ant species with queen castes, when the dominant queen stops producing a specific pheromone, workers begin to raise new queens in the colony. Some ants produce sounds by stridulation, using the gaster segments and their mandibles. Sounds may be used to communicate with colony members or with other species. Ants attack and defend themselves by biting and, in many species, by stinging, often injecting or spraying chemicals, such as formic acid in the case of formicine ants, alkaloids and