Both the CPU and GPU contribute to gaming performance. However, if you primarily play graphically demanding games, investing in a more powerful GPU may yield better results.