California

“[A] home loan is an obligation to pay money, and the purpose of a mortgage is to secure that obligation. [Citation.] Foreclosure, in turn, is ‘the process in which property securing a mortgage is sold to pay off the loan balance due.’ [Citation.] In other words, foreclosure is a means of collecting a debt. ................
................