A backwater valve is a device that is installed in a sewer line to prevent sewage from flowing back into a building during a heavy rainstorm or other event that causes the sewer system to become overloaded.