It breaks down the chemical bonds of the stuff in the water, converting it into less harmful substances that are ok for your fish. (Hows that for a 13 year old kid?)
Many of us add water directly to the tank using a Python or similar method. Just add the dechlorinator to the tank immediately before you add the tap water.