The wastes of factory may contain high ratio of basic or acidic chemicals. These chemicals make aquatic life difficult.
Base will neutralize the acids. So, by adding the base (limestone, lime etc) into water we can make it less harmful and neutral too.