What happens to the water quality if photosynthesis decreases ?

Oxygen levels decrease which means it may harm the plants and fish life.