It doesn’t know how those numbers are used. The only function of the RNG is to generate random numbers.
The RNG keeps running even when the machine is not being played.RNGs are very fast, generating dozens and sometimes hundreds of random numbers per second.RNGs use algorithms to calculate their numbers.It’s said that nothing in the universe above quantum level is truly random, but random number generators are close enough that players can’t discern any repeating patterns, and the long-term percentages are those you would expect from randomly occurring outcomes.