The federal government is involved in the financial system in various ways: The Federal Housing Administration, Fannie Mae, and Freddie Mac play key roles in housing finance; the government makes loans and guarantees loans for various activities; federal programs provide insurance in certain circumstances; and the government regulates financial institutions. CBO analyzes the budgetary and economic effects of those federal roles.