The majority of leeches live in freshwater environments, while some species can be found in terrestrial and marine environments.