A backwater valve is a device that allows water to flow out of your home but prevents it from coming back in, especially during heavy rains or sewer system overloads.