In a repo, a borrower sells a security, often a government bond, for cash and agrees to repurchase it shortly after at an agreed higher price. The difference is effectively the interest, known as the repo rate.
Repos are a central tool for short term funding and for managing liquidity, and they are how many central banks add or drain cash from the banking system.

