A ball valve is a flow control device that regulates the flow of liquid through it using a hollow, perforated, and pivoting ball. When the ball's hole is parallel to the flow inlet, the valve is open. When the ball is turned 90 degrees by the valve handle, the valve is closed, obstructing the flow.