 There are about 2 @,@ 000 species of antlion found in most parts of the world , with the greatest diversity being in warmer areas . The best known species are those in which the larvae dig pits to trap their prey , but by no means all species do this . Antlions live in a range of usually dry habitats including open woodland floors , scrub @-@ clad dunes , hedge bases , river banks , road verges , under raised buildings and in vacant lots . 
