How does scoring in tennis work?

The typical tennis match in comprised of three sets. The first person to win two sets wins the match. Two win a set, you have to win six games. Should players reach six games, a tie breaker is played to determine who will win that set. To win a game, you have the be the first player to win four points, by two.