Understanding the Mechanics of DeFi Lending: A Comprehensive Overview