To protect possibly the most important investment you'll ever make - the investment in real estate. A lender goes to great lengths to minimize the risk of lending money for the purchase of real estate. First, credit is checked as an indication of the borrower's ability to repay the loan.