The whole bottom window sash is rotted and needs to be replaced. Also, a small area of the door needs to be repaired.
Partner with Builderscrack