A dung beetle is a type of beetle that has adapted to feed on feces, particularly from herbivorous animals. They play a vital ecological role by helping to decompose and recycle animal waste, which benefits nutrient cycling and soil fertility. Dung beetles are known for their remarkable ability to roll and bury dung balls for food and reproduction, and they are found in various habitats worldwide.