Gaming speed, cores and clocks
On our gaming index the Ryzen 5 5600 scores 56 and the Ryzen 5 5500 scores 50, about 12% faster for gaming. That gap is small and mostly shows up at 1080p with a very fast graphics card.
The Ryzen 5 5600 has 6 cores and 12 threads, and the Ryzen 5 5500 has 6 cores and 12 threads. Core counts are the same, so cache size and clock speed decide the difference. Boost clocks are 4.4 GHz and 4.2 GHz.