What does "twilight years" mean?

Native speaker’s answer
Rebecca
"Twilight years" refers to the last years of one's life or career. It usually refers to one's retirement. Here it's used to indicate that retirement may be coming for these players. Ex: In her twilight years, my grandma was still so healthy. Ex: It seems like the players are in their twilight years.