Foreclosure is a legal procedure in which a property is sold by a lender to recover unpaid debts from the borrower. It begins when the borrower defaults on mortgage payments or fails to pay property taxes.