There are numerous processes such as using reedbed filter systems that can be used to clean up greywater.
Recycled greywater from showers and bathtubs can be used for flushing toilets, which saves great amounts of water. Many attempts at this have been made in Germany.