Millipedes live all over Earth, but are most abundant in regions that are humid and tropical. Millipedes thrive best in regions that have moist soil, and they are typically found in terrestrial, grassland and temperate habitats. They can be found living in high altitude mountains and may even live in swamps or marshes.
Millipedes are invertebrates that have long, segmented bodies that are shielded by a tough exoskeleton. The majority of millipede species are dark in color and have glands along the length of their thin bodies that produce toxic compounds, which are used to ward off predators. Millipedes consume dead plant matter and are preyed on by animals and insects such as frogs, beetles, lizards, shrews and spiders.