A beetle that feeds on dung, partly or wholly. Many species form dung into balls in which they lay their eggs, others bury dung, and some live inside dung. There are about 300 species belonging to the families Geotrupidae and several thousand species in the scarab family Scarabaeidae.