After your death, any outstanding debt and financial obligations do not disappear. Your home is probably the costliest and most significant property you own. A mortgage payment is a large burden for a spouse or partner to carry.
A life insurance policy would allow your spouse or children to pay off your outstanding debts and spare them the stress of making monthly payments on the home.
Note: Actual policies must be consulted for specific terms and conditions.