Another way to say "plumbing is for providing drainage" is "One purpose of plumbing is for drainage."