The broker-dealers and banks that make markets in mortgage bonds, buying from lenders and issuers and selling to investors, above all in the US to-be-announced (TBA) forward market that lets lenders lock rates for borrowers weeks before loans close.
MBS dealers 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 MBS dealers fit into mortgage lending