Waht happens when the detergent enters into freshwater ecosystem?

Hi, I am very much interested in water, water pollution and its purification etc. My forte is farming and agriculture mechanization. I want to know as we use so much of detergent for domestic and industrial purpose, what hppans when it ents in freshwater ecosystem? thank you water network