Sometimes when you're building circuits, you dont always have the right components. Fortunately when it comes to digital logic gates, you can make the component you need! If you're fresh out of NOT gates, but have an extra NAND gate laying around, you're in luck! With a NAND gate you can connect the two inputs, then add your input, to effectively create a NOT gate! Its as simple as that! See picture for circuit diagram.