I'm from Ireland, and it was required for me to get a mortgage in order to buy an apartment.
It's basically mortgage protection insurance - This is a particular type of life assurance taken out for the term of the mortgage and designed to pay it off on the death of the borrower or joint borrower
https://www.citizensinformation.ie/en/housing/owning_a_home/...