Foundation drain. An underground pipe that runs along the bottom of a home’s foundation and helps keep the basement free of excess moisture from groundwater.