Foreclosure is a legal process in which a lender attempts to recover the balance of a loan from a borrower who has stopped making payments. The process involves the lender forcing the sale of the property used as collateral for the loan. Foreclosure allows the lender to take possession of the property and sell it to recoup the outstanding loan balance.