What is Discounting bill of exchange?

It means when holder of a bill needs money he can take the bill to bank where the bank will discount it and charge
some interest on that