What is “discharge of mortgage” in the context of refinancing?

What is “discharge of mortgage” in the context of refinancing?

When you refinance to a new lender, your old lender “discharges” their mortgage (removes their legal interest) from your property title, and the new lender registers their new mortgage. A discharge fee is usually payable to the old lender.