Boiling will kill most pathogens.
Probably remove the chlorine if that's what your municipality uses to treat water......but just sitting out for 24 hours will take care of that.
Not sure if it would remove chloramine, which is often used.
What chemicals are you concerned about?
The chloramine