It has priority over other debts owed by the same borrower. It will be repaid before other debts that have lower priority (junior debt or subordinated debt). It is also called senior note and it connected to a senior loan. In the case of bankruptcy or liquidation, senior debts are going to be paid first. It can be secured (collateralized by assets) or unsecured.