The perimeter drain itself is simply a perforated pipe with a mesh “sock” covering it (keeping soil out) that's installed underground, circling the perimeter of your home. Those tiny holes allow water to enter the pipe, where it can then be drained away from your home's foundation.