A mortgage marketplace is where lenders and borrowers come together and transact. In the primary market, new loans are issued for purchase or refinancing. In the secondary market, existing mortgages are traded among financial firms.