Water passes through the gravel or stone, through the holes ... If you’re installing a French drain around your foundation to prevent basement moisture, take care to position the pipe below ...