What is this?

What are the black pipes with caps? The liner? There's a similar "structure" but it has sleeve of chained rocks. Is it to control flow?