The processes that take place in ecosystems, such as nutrient cycling, water filtration, pollination, and pest control.