Yield farming is the strategy of investing cryptocurrencies in DeFi protocols to earn maximum returns.