How gains and payouts from mutual funds are taxed: the three tax groups of funds, short-term and long-term capital gains, IDCW and tax deducted at source, stamp duty, the ELSS deduction and lock-in, and setting off losses (rates as of October 2026).