Like most investments, the returns you make on mutual funds are subject to tax. How much tax you pay depends on three things: what type of fund you hold (equity or debt), whether your gain is short-term or long-term, and whether you received the return as a dividend (called IDCW - Income Distribution cum Capital Withdrawal) or as capital gains on sale.
Dividends/IDCW received from any mutual fund scheme are added to your total income and taxed at your income tax slab rate, whether the fund is equity or debt oriented - this is why many investors prefer the Growth option over the Dividend/IDCW option, since it defers tax until you actually redeem your units, and gives the fund manager the full amount to keep compounding in the interim.
A few practical points worth remembering: switching between two schemes counts as a sale and a fresh purchase for tax purposes, so it triggers capital gains tax just like a regular redemption. Systematic Investment Plan (SIP) installments are each treated as a separate purchase, with their own individual holding period - so if you redeem your entire SIP investment at once, some units may qualify as long-term and others as short-term depending on when each installment was made, usually on a first-in-first-out basis. And Equity Linked Savings Schemes (ELSS), the tax-saving mutual fund category, additionally carry a mandatory 3-year lock-in from the date of each investment, separate from the general capital gains tax rules above.