Homebuilders buy land, build single-family homes and townhouses, and sell to buyers, often with in-house mortgage arms.