A deed of trust is a legal document used in real estate transactions where a borrower transfers the title of a property to a trustee, who holds it as security for a loan between the borrower and lender. This arrangement allows the trustee to sell the property if the borrower defaults, streamlining the foreclosure process compared to a traditional mortgage foreclosure.