Freshwater ecosystems are a subset of Earth's aquatic ecosystems that include the biological communities inhabiting freshwater waterbodies such as lakes, ponds, rivers, streams, springs, bogs, and wetlands. They can be contrasted with marine ecosystems, which have a much higher salinity. Freshwater habitats can be classified by different factors, including temperature, light penetration, nutrients, and vegetation.