It is a legal document obligating a borrower to repay a loan at a stated interest rate during a specified period of time. The agreement is secured by a deed of trust; it may also be called a mortgage in other states.