The legal process when a borrower defaults on a loan.