How does the release of certain nutrients into a lake harm the lake?

Nitrogen compounds for example (fertilizer) grow too much algae? That rots and uses up all the oxygen? Then the fish die due to no oxygen and they rot, using up more?