Yield farming optimizes for protocol incentives, often by moving liquidity across pools and claiming reward tokens frequently.
Tax risk is operational: dozens of small income and disposal events. Export everything and reconcile reward tokens carefully.
Educational definition — not tax advice. Rules vary by country.