Faster CPUs allow for higher framerates. Faster GPUs allow for higher graphical details at those framerates.
If you have a 60hz monitor, a stock i5 will provide you a perfect 60fps in nearly every game, with a handful of exceptions. An i7 or i7-K is more appropriate if you have a 120 or 144hz monitor, or want to record gameplay.