Logic gates
NOT gate
The NOT gate, also known as an inverter, outputs the inverse of its single input. If the input is true (1), the output will be false (0), and if the input is false (0), the output will be true (1). It is used to invert the logical value of a condition.