Full-frame replacement
The old window and frame come out to the rough opening. This is the right call when the frame is rotten, out of square, or you want to change the look of the exterior trim.
Insert / pocket replacement
A new sash and frame set into a sound existing frame. Faster, less disruption, and often less cost when the opening is still structurally good.