For example, maybe you grew your company a lot this year and ran out of money in November, but a bunch of your customers will be paying you large sums when annual renewals renew in January. You can't just not pay employees in December, so you borrow for a month or two in order to smooth over payroll and other expenses and then pay it back in January.
Typically, a revolving line-of-credit is going to help with month-to-month expenses, but won't be enough to massively grow your business. For example, if you are a startup, a bank won't give you nearly as much money as a VC, but at the same time, you probably don't want to give up equity in your company every time you are temporarily behind on payroll. If you are a very large and established company, you'll likely have other, cheaper ways of getting money for your day-to-day business. For example, Commercial Paper is basically a short term bond issued by large well-known and creditworthy companies that need to smooth over payroll and other operational expenses. But by the time you are doing things like that, you probably have an entire corporate finance department handling these sorts of things. A revolving line-of-credit is much simpler.
[1] prime rate is the interest rate that big banks can borrow at which is typically lower than what you can borrow at. They'll borrow at rate Y and charge you rate Y+Z.
It's worth noting that a line of credit can be against the business itself, the owner of the business, or it can be backed with specific collateral, such as stocks, for example. If you are large enough, the bank will get creative on what you can use as collateral, although I'd imagine that in general it's easier to borrow against a Manhattan office building (many possible buyers) than the intellectual rights to comic-book characters (very few possible buyers).
[1] https://web.archive.org/web/20110805065546/https://variety.c...
But seriously when will this all get NFTed?????
Edit: and allows you to have all the terms and conditions any other contract is able to provide.
This is one of the many reasons I am not in finance.