Basement water filtration system with pipes and valves