Ryzen 5600G / 5700G are good models of CPUs with integrated GPU for limited budgets and for people who don’t want to invest a lot of money on a dedicated graphic card. They are optimal choices for HTPCs or in general for whom is using the PC mainly to watch movies, browse the internet and using Microsoft Office. With their integrated RX Vega GPU they are also suitable for playing video games, but do not expect very good frame rates compared to dedicated graphics cards, even at lower resolutions.
For people who desire more performance, our recommendation is a 12th generation (Alder Lake) Intel i5 or 5th generation AMD Ryzen 5 (Vermeer). These CPUs are the best choice for a mid/high-end PC, being able to take advantage of any graphic card full potential, while keeping an acceptable price. Intel's K series CPUs are suggested only for users that like to overclock their processors, if you do not have any intentions to overclock your processor, you should save some money by picking the normal version of the CPU.
If you intend to make intensive use of multithreaded applications, then the best choice would be a processor from the 13th generation (Raptor Lake) Intel i7 or 7th generation AMD Ryzen 7 (Raphael). These CPUs can fully take advantage of the higher number of core/threads and offer superior performance and efficiency.