To the naked eye, a slot game looks like a series of spinning reels that eventually stop on a combination of symbols. In reality, the outcome of every spin is decided the exact millisecond you press the "Spin" button. The animation of the reels is simply a visual presentation designed to create anticipation; it does not influence the result.
The "brain" behind this process is the Random Number Generator (RNG). This sophisticated algorithm generates thousands of sequences per second, even when no one is playing. When you trigger a spin, the RNG picks a number that maps directly to a specific outcome on the virtual reel strip. This ensures that every single spin is an independent event. This means the game does not "remember" that you just had a win or a long dry spell; the odds of hitting a combination are exactly the same on every spin, regardless of what happened previously.