Grand slam tournament matches are played in the best of 5 format. while in all other ATP tours, matches are played in a best of 3 format. There are 6 games in each set, and if a tiebreak happens 7th game decides the set.