What is a Ball Valve and How does it work in Pipelines Applications?