What is a promissory note?

A promissory note is a contract that contains a written promise by a borrower to formally agree to repay money to the lender.