Online slots games use random number generators (RNGs) to determine the outcome of each spin. The RNG ensures that every spin is independent and fair, making it impossible to predict or manipulate the results. When you spin the reels, the RNG generates a random combination of symbols, which determine if you win or lose.