A yield optimizer is a tool or strategy used in decentralized finance (DeFi) that aims to maximize the return on investment (ROI) for crypto assets by automatically allocating funds to different liquidity pools or strategies in order to generate the highest yield possible. Yield optimizers typically leverage various DeFi protocols and strategies such as yield farming, staking, and lending to help users earn passive income on their cryptocurrency holdings.