This small video will give a brief idea about working of two input TTL NAND gate.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.