Drain tile is a system of pipes that collects and directs ground water away from retaining walls or a home's foundation to prevent basement or crawl space flooding.