Describe the process known as "foreclosure" in real estate finance.
Foreclosure is a legal process in which the lender takes possession of a property and sells it to recover the outstanding mortgage balance when the borrower defaults on the loan payments.