Watch the movie Dark Waters (2019) and write on environmental legislation, What environmental legislation was referenced in the movie- why did it apply to the case presented?

Watch the movie Dark Waters (2019) and write on environmental legislation, What environmental legislation was referenced in the movie- why did it apply to the case presented? In what ways does environmental legislation work and in what ways does it fail?