Gaming speed, cores and clocks
The Ryzen 5 4500 and the Core i3-12100F are within a few percent of each other for gaming. In a game, you will not see the difference.
The Ryzen 5 4500 has 6 cores and 12 threads, and the Core i3-12100F has 4 cores and 8 threads. The extra cores of the Ryzen 5 4500 help with video editing, streaming while you play and heavy multitasking more than with the game itself. Boost clocks are 4.1 GHz and 4.3 GHz.