A flash loan is a type of unsecured loan in decentralized finance (DeFi) that allows users to borrow funds without collateral for a very short period, typically only a few seconds. The funds are returned to the lender with a small fee, usually 0.09%. This type of loan relies on smart contracts, and if the borrowed funds are not returned in the same transaction as they were borrowed, the entire transaction is reversed.