When chlorine mixes with sweat, urine, and oils, it creates a foul-smelling compound called trihal omethane. Trihalomethanes are carcinogenic and can cause liver problems. Swimming in chlorinated pools can increase your risk of developing bladder cancer. Some studies suggest that children who spend time at public pools are twice as likely to develop bladder cancer compared to those who don't go near pools.