A water softener is used to treat "hard water" -- a term used to describe water that is abnormally high in mineral content, such as calcium and magnesium. Hard water can be damaging to appliances exposed to trace minerals and can reduce soap's effectiveness. Water softeners typically exchange sodium ions for the mineral ions in the hard water so that "softened water" has a higher salinity, or salt, level.
A sump is a plumbing device similar to a French drain. It is basically a large length of pipe, or basin, filled with gravel. This pipe is buried under the yard and helps disperse grey water from your washing machine, dishwasher or shower back into the water table. This is an effective way of reusing water but can be detrimental to your yard's pH if care is not taken when choosing detergents and water softeners.
The effect of softened water in your sump can be an increase in the soil salinity of your yard or garden. Over time, this can render the soil unsuitable for sustaining grass, trees and plants. Use only water softening chemicals approved for use in a sump and check your local municipal codes to avoid running afoul of environmental regulations. If lime is used for water softening, your soil may need to be treated with urea to lower the soil pH.
There are many biodegradable and environmentally-friendly detergents available for use in washing machines. Check the label on your detergent or fabric softener to make sure it's safe to use in a sump system; otherwise, it could lead to damaging effects in your yard. You want to avoid detergents that contain sodium, chlorine and boron as they can be especially harmful to the environment. Use the minimum amount of detergent necessary to get your clothes clean and stick to brands marketed for use in grey water recycling systems.