Study binary. Everything 0 and 1. 

Where there 0 you negate it with 1 and vice versa. That's not gate.

Refer truth table and diagram for circuit.

-

Binary logic revolves around two values: 0 (false) and 1 (true). The NOT gate in logic circuits inverts the input. If the input is 0, the output is 1, and if the input is 1, the output is 0.

Truth Table for NOT Gate:

InputOutput
01
10

Circuit Diagram:

A NOT gate is represented as a triangle with a small circle at the output:

   ----|>o----
     Input    Output

In binary circuits, it's used for logical negation.

They are use useful in inverters.