Mental Model
We change one specific light switch in a row without touching the others by turning it on, off, or flipping it.
Analogy: Imagine a row of light switches representing bits. Setting a bit is like turning a switch ON, clearing a bit is turning it OFF, and toggling is flipping the switch from ON to OFF or OFF to ON.
Bits: 0 1 0 1 1 0 0 1
Index: 7 6 5 4 3 2 1 0
↑
target bit