Your memory is constantly doing reading and writing cycles with your currently loaded data, and that frequency is referring to how many times per second the memory is going through that cycle. Those four-digit numbers are the frequency of the RAM.
When looking at RAM products, you might find it listed as DDR4-3200 or DDR4 2666 MHz. First is the RAM’s frequency, which is far too commonly referred to as the speed.