A player must win at least six games to win a set. A player must also win by two games in order to win the set. So, if a game is played to a 6-5 score in the set, then the leading player must win a seventh game to win the set.