The ultraviolet rays of the sun can be extremely destructive to microorganisms. We as humans avoid it as much as possible as it can cause skin cancer and other diseases. But we have learned to harness its power and use it to our advantage, especially in decontaminating our water from harmful bacteria and pathogens. UV light has been a standard in the disinfection of water supplies at the municipal level for decades but has recently become available for home use.

Plumbosolvency reduction: In areas with naturally acidic waters of low conductivity (i.e. surface rainfall in upland mountains of igneous rocks), the water may be capable of dissolving lead from any lead pipes that it is carried in. The addition of small quantities of phosphate ion and increasing the pH slightly both assist in greatly reducing plumbo-solvency by creating insoluble lead salts on the inner surfaces of the pipes.
Strain the water. For water that’s contaminated with large particles like pebbles, insects, plant matter, or dirt, you can strain out the contaminants.[1] Line a fine-mesh strainer with muslin, cheesecloth, a clean dish towel, or even a clean cotton shirt. Place the strainer over a bowl, and pour the water through the strainer to remove the particles.
Boiling: Bringing water to its boiling point (about 100 °C or 212 F at sea level), is the oldest and most effective way since it eliminates most microbes causing intestine related diseases,[21] but it cannot remove chemical toxins or impurities.[22] For human health, complete sterilization of water is not required, since the heat resistant microbes are not intestine affecting.[21] The traditional advice of boiling water for ten minutes is mainly for additional safety, since microbes start getting eliminated at temperatures greater than 60 °C (140 °F). Though the boiling point decreases with increasing altitude, it is not enough to affect the disinfecting process.[21][23] In areas where the water is "hard" (that is, containing significant dissolved calcium salts), boiling decomposes the bicarbonate ions, resulting in partial precipitation as calcium carbonate. This is the "fur" that builds up on kettle elements, etc., in hard water areas. With the exception of calcium, boiling does not remove solutes of higher boiling point than water and in fact increases their concentration (due to some water being lost as vapour). Boiling does not leave a residual disinfectant in the water. Therefore, water that is boiled and then stored for any length of time may acquire new pathogens.
Ultraviolet light (UV) is very effective at inactivating cysts, in low turbidity water. UV light's disinfection effectiveness decreases as turbidity increases, a result of the absorption, scattering, and shadowing caused by the suspended solids. The main disadvantage to the use of UV radiation is that, like ozone treatment, it leaves no residual disinfectant in the water; therefore, it is sometimes necessary to add a residual disinfectant after the primary disinfection process. This is often done through the addition of chloramines, discussed above as a primary disinfectant. When used in this manner, chloramines provide an effective residual disinfectant with very few of the negative effects of chlorination.