Flash loans are unsecured (uncollateralized) loans where a borrower must repay their entire loan back to a lender in the same transaction. They are unique financial products, only available in the DeFi world because smart contracts can force a user to pay the loan back immediately.
The mechanics of flash loans are straightforward. Here is an example of a flash loan of USDC (a dollar-pegged stablecoin), end to end:
For a deeper dive into flash loans, how they work, the mechanics involved, and how they can be used, see Cyfrin’s blog post “Flash Loans: Everything You Need To Know“