What is the difference between flange type and wafer type?

Flange type valves have flanges on both ends for bolting to the pipe flanges, providing a secure, leak-proof connection. Wafer type valves are sandwiched between pipe flanges and held in place by bolts, offering a more compact and lightweight design but requiring precise alignment.