The Securities Transaction Tax (STT) is a direct tax on securities transactions levied at the time of the transaction, while the Capital Gains Tax (CGT) is a tax on the profit arising from the sale of a capital asset and is levied at the time of the sale.