This is used to change the state of a bit to its opposite state. For example, it will take a 1 or and make it a 0 , and vice versa.