 Some millipedes are herbivorous, feeding on living plants, and some species can become serious pests of crops.Millipedes in the order Polyxenida graze algae from bark, and Platydesmida feed on fungi.A few species are omnivorous or occasionally carnivorous, feeding on insects, centipedes, earthworms, or snails.