The discount rate is b. the interest rate the Federal Reserve charges for loans to commercial banks.
The federal reserve facility, where commercial banks and other lending financial institution apply for their loan, is called the discount window.
The discount rate is applied on overnight loans of the commercial banks and other financial institution.