This circuit explains you about how the NAND logic works using the NAND logic gate.
The logic of the NAND gate is inverse(A.B).This means this circuit will be OFF state only when the both inputs are high otherwise it will be in the ON state..........