Title insurance protects the lender and buyer from any losses that are incurred as a result of disputes over the title of the property.