Lending is the process of supplying tokens to a pool. In exchange for giving liquidity to this pool, users will gain interest in the tokens they have deposited.
This earned interest comes from the users who pay interest to borrow tokens.
Lenders can withdraw their supplied tokens at any time (as long as they aren’t being used as collateral to borrow tokens and not all the tokens are being borrowed). There is no withdrawal fine or time lock.