The eleven cooperative Federal Home Loan Banks that lend cheap secured advances to member banks, credit unions and insurers against mortgage collateral, and buy some home loans directly, giving local lenders capital-market funding for housing.
Federal Home Loan Banks 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 federal home loan banks fit into mortgage lending