The RNG algorithm generates hundreds of random number sequences per second, even in the absence of an active gaming session. In the case of slot machines, these sequences are converted into a combination of symbols that appear on the screen after a spin, which then provide a payout based on the winning result.