In professional tennis, why do they change new balls after 7 games and follow by 9 games?

Is it because of at the start of the match, the balls have been played as a warm-up? Is there any rationale behind for practicing this?
3 answers 3