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
Green-head ant myrmecophilous insects such as the beetle "Chlamydopsis longipes" are sometimes seen living inside colonies. Green-head ant males are produced irregularly throughout the year and are low-flying ants. Recorded nuptial flights begin between September to November at temperatures of 20–25 °C (68–77 °F), when a number of males begin to emerge from their nest. Sometimes, however, the males may return to their nest after briefly appearing outside. The green-head ant is a gamergate species, which means that males can successfully mate with the workers. These workers remain outside their nest with their head and thorax appressed and gaster elevated into the