What would be used to trap solids in a waste water treatment plant?

What would be used to trap solids in a waste water treatment plant?