It may be the photo, but the sash bottom rail, muntins and styles are all rotten where they meet, so it needs to come out to be repaired / remade. The parting bead, jambs and cill of the frame are all rotten, which suggests the box will also have rotted out. To confirm, I’d be having a good poke...