Congress created Fannie Mae and Freddie Mac to provide liquidity in the mortgage market. The agencies buy mortgages from lenders and either hold them or sell them as mortgage-backed securities. Fannie and Freddie are the largest guarantors of mortgage loans in the country. Because of this, they can provide the FHFA with plenty of housing information that it can use in its HPI reports.