Boiling can sometimes be used to remove certain toxins from contaminated water or food. For example, boiling water can kill pathogens like bacteria and viruses, making it safe for consumption. However, boiling is not effective against all toxins. Some chemical contaminants, like heavy metals and certain pesticides, have high boiling points or do not volatilize easily, so they remain in the water even after prolonged boiling.