The process by which a lender sells property securing a loan in order to repay the loan. Under a DEED OF TRUST , foreclosure is by public auction after appropriate advertisement. A MORTGAGE may require the lender to obtain Court approval prior to sale.