what are the components of a freshwater ecosystem