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 desiccation, so the ability to find the shortest route back to the nest reduces that risk. Diurnal desert ants of the genus "Cataglyphis" such as the Sahara desert ant navigate by keeping track of direction as well as distance travelled. Distances travelled are measured using an internal pedometer that keeps count of the steps taken and also by evaluating the movement of objects in their visual field (optical flow). Directions are measured using the position of the sun. They integrate this information to find the shortest route back to their nest. Like all ants, they can also make use of