Boiling tap water disinfect it also removes chlorine and volatile impurities. However, boiling does not remove other contaminants that are non-volatile (substances that can evaporate from boiling). It will not remove heavy metals and other toxins that are still left behind after boiling.