Federer will be bidding to extend his record to nine Wimbledon crowns when the tournament begins next week, a little over a month shy of his 37th birthday.
Nadal won a record-extending 11th French Open title last month, shortly after turning 32.
Australia's Pat Cash, who won Wimbledon at the age of 22 in 1987 for his sole major title, told CNN Sport at Roland Garros he is amazed by their "freakish" motivation bordering on "obsession."
"I don't understand how he [Nadal] does it, I really don't know. It's some form of obsession, there is no doubt about it, I don't know what drives him, but it has to be," said Cash, who now coaches American Coco Vandeweghe.
"Federer as well ... Why would he be playing at the age of 36 other than to please your adoring fans, and because he likes playing and he likes to win titles?
"There is some obsession, there is some ego-driven thing that's really pushing them massively.
"Novak [Djokovic] is normal. Novak said, 'I lost motivation'. That is normal.
"In my era, the Tour wasn't as nice and as comfortable as it is now. We had to travel and go overseas and it wasn't exactly first-class seats. We almost all lost motivation.
"[Bjorn] Borg retired at 26, I lost interest at 24 or 25, [John] McEnroe has talked about it, [Andre] Agassi has talked about it. That's normal.
"What's not normal is Federer and Nadal. And I don't know what it is. Maybe to get better, maybe to win more.
"Whatever it happens to be, it's phenomenal. To me, it is kind of weird and most guys, the ex-players, they sort of look at them and go 'Why is Federer still playing?'
"Nadal, I think he feels like he's got something to prove, he's had a few years off, he's come back and he's had some motivation to get back again after injuries."
"They set the benchmark so ridiculously high that somebody like Novak looks like a failure compared to them because he's lost motivation for a year, which is ridiculous," added Cash.
"Novak had the best year , possibly the best year tennis has ever seen. He played Nadal at his peak and Federer at his peak and he beat them. And these are two of the greatest guys we are talking about, so that took a lot out of him.
"The same with Andy Murray. Murray had a great year  and then was exhausted the next year. That's n