Lending thus serves two purposes: generating yield and, if the user chooses, acting as collateral to borrow against. The interest rates paid by borrowers and received by lenders are determined algorithmically, taking into account supply and demand by targeting an optimal utilization rate (more on this in the Dynamic Interest Rate Model section below).