Ball valves and gate valves belong to the same category of valves; the distinction lies in the fact that the closing element of a ball valve is a sphere, which rotates around the centerline of the valve body to achieve opening or closing. In pipelines, ball valves are primarily used to shut off, distribute, or alter the flow direction of the medium. According to the standard GB/T 21465-2008, "Terminology for Valves," a flanged ball valve is defined as a valve in which the closing element (a sphere) is driven by a valve stem and rotates around the axis of that stem.