Why the switches used in weighted resistor DAC are of single pole double throw (SPDT) type?

Why the switches used in weighted resistor DAC are of single pole double throw (SPDT) type? Correct Answer To connect the resistance to either reference voltage or ground

SPDT are electronic switches controlled by a binary word. If the binary input to a switch is 1, it connects the resistance to the reference voltage and if the input is 0, the switch connects the resistor to ground.

Related Questions

Which type of switches are not preferable for a simple weighted resistor DAC?
CMOS inverter is used as SPDT switch in resistor DAC and is connected to the op-amp line. Find the output of CMOS, if the input applied is 1