Lien theory is a legal doctrine in real estate where the mortgage lender holds a lien on the property, but the borrower retains legal title and possession. If the borrower defaults, the lender must go through foreclosure proceedings to obtain title to the property.