A ball valve is a valve used to control the flow of liquid or gas through a pipeline. It derives its name from the hollow, perforated ball inside the valve that rotates to regulate the flow.
A plug valve is a type of valve used to control the flow of fluid through a cylindrical or tapered plug containing one or more internal passages or ports. The plug rotates inside the valve body, allowing or restricting the flow of fluid through the pipeline.