A pseudo-random process that decides outcomes such as drops or affixes. In games, RNG is driven by a PRNG algorithm and a changing seed.
Two players with the same EV can see different short-term results because RNG streaks are normal in small samples.
RNG is pseudo-random, not truly random; seeds and implementations vary by game.