Land registries record who owns each property and which lenders hold a mortgage or charge over it, which is what gives a lender its priority claim if the borrower defaults.
Land registries are one player in the mortgage lending industry, and an industry of their own, with their own suppliers, customers, software, regulators, and money flows. This full map is on the roadmap.
Meanwhile: how land registries fit into mortgage lending