The majority of species are terrestrial , including a number of important agricultural pests .
Some are found in freshwater habitats .
The majority of species are terrestrial , including a number of important agricultural pests , but some are found in freshwater habitats .