To give something to someone with the expectation of getting it back.
"Can you lend me some cash until I get paid?" "Of course, how much do you need?"
To receive or take something for temporary use, with the intention of giving it back to the lender.
"Can I borrow that book?" "Sure, but I need it back next week"