Lakes are more stable environments than rivers. The water in a lake does not flow as quickly as the water in a river, so the temperature and chemistry of the water are more consistent. This makes it easier for plants and animals to live in a lake.
Rivers are more dynamic environments than lakes. The water in a river is constantly flowing, so the temperature and chemistry of the water can change rapidly. This makes it more difficult for plants and animals to live in a river.
In addition, lakes are often larger than rivers. This means that they can support a larger number of species.