In the season finale of How I Met Your Mother, Tracy Mosby (played by Cristin Milioti) died at the age of 45. Her death was caused by an unspecified terminal illness, which she had been battling for some time. The episode ended with a montage of scenes from Tracy's life, including her wedding to Ted Mosby (Josh Radnor).
Although How I Met Your Mother was a comedy series, Tracy's death was a touching and emotional moment for fans of the show. Many viewers had grown attached to the character over the course of the series, and her death served as a reminder that sometimes life doesn't go according to plan.
How I Met Your Mother ended after nine seasons in 2014, but Tracy Mosby will always be remembered as one of the show's most beloved characters.