Freddie Mac operates in the secondary mortgage market in the United States. The company purchases residential mortgage loans originated by lenders, as well as invests in mortgage loans and mortgage-related securities. It operates through three segments: Single-family Guarantee, Multifamily, and Capital Markets. The Single-family Guarantee segment purchases, securitizes, and guarantees single-family loans; and manages single-family mortgage credit risk.