What is a promissory note in real estate, and why does it matter?

What is a promissory note in real estate, and why does it matter?