Give some stream of consciousness and then the answer. A total of 113 Series have been contested, with the NL champion winning 48 and the AL champion winning 65. The New York Yankees of the AL have played in 40 World Series through 2017 -- winning 27 -- the most Series appearances, victories, and losses (13, shared with the Los Angeles Dodgers) of any Major League Baseball franchise. The St. Louis Cardinals, who represented the NL for a 19th time in 2013, have won 11 championships, which is the second-most among all 30 Major League Baseball teams as well as most among NL teams. Both the Giants and the Dodgers have been NL champions more times, with the Giants winning 23 NL pennants and the Dodgers winning 22.

Based on this passage, who has played in the most world series games?
To answer this question, we should know that: The New York Yankees of the AL have played in 40 World Series through 2017 -- winning 27 -- the most Series appearances, victories, and losses (13, shared with the Los Angeles Dodgers) of any Major League Baseball franchise.
Therefore, the answer is The New York Yankees of the AL.