Imagine you can get a loan from a lender at sunrise, but you should bring it by sunset. Flash loans have a similar…