To ensure the validity of the mortgage as a lien on your property.
What you may not understand is this. That coverage does nothing for you. It only protects the bank.
Lending institutions want to protect their investments, so they require the borrower to buy that protection.
What Is Homeowner's Title Insurance and Should You Buy It?