A financial institution might engage in a repo transaction to raise short-term capital. They sell government bonds to another institution with the agreement to buy them back the next day at a slightly higher price, the difference representing the interest cost.
The treasury manager decided to use repos to manage the company's short-term liquidity needs effectively.