When you purchase real estate with financing, you sign a note and a mortgage. A note is what obligates you to repay the debt. A mortgage is what puts the property up as collateral for that debt. A foreclosure is when the lender is seeking to sell the collateral because the borrower is not making their monthly payments. It is important to consult with an experienced real estate attorney if you’re served with a foreclosure because you could lose the property.