What Random Number Generation Means
Random number generation produces values where no result can be predicted from the ones before it. There are two broad types. True random numbers come from physical sources of entropy, such as electrical noise or timing jitter, and are used in security-critical systems. Pseudo-random numbers come from an algorithm that starts with a seed and produces a long sequence that looks random but is fully determined by that seed.
Most browser tools rely on Math.random(), which is fast but not designed for security and can show subtle patterns. This generator prefers the cryptographically secure source exposed by the browser when it is available, giving you higher quality randomness without any extra setup. For everyday tasks like picking 5 numbers for a draw or sampling rows from a list, the difference rarely matters, but the stronger source costs nothing and removes any doubt about bias in your results. Understanding which type you are using helps you judge whether a given tool is suitable for the job you have in mind, since a generator fit for a casual draw is not always fit for a security key.