Roger Federer and Serena Williams both enjoyed stunning careers, reaching heights that not many other sportspeople have.