"What even is true randomness?"
You might be asking. Well for that we have to look at how a computer works fundamentally.
As you probably know computers work with ones and zeros. And the problem with those ones and zeros is that what happens to them is predictable. Which means that you cannot have anything truly random happen. BUT, there is an alternative. how else would there be 'randomness' on a computer? The alternative is pseudo random numbers. Pseudo random numbers aren't truly random but they behave as such. A pseudo random number is derived from a seed. This seed can be the current time or any other changing value. It has to be changing because if you were to use the same seed the same number would come out!
"Okay, but are there any drawbacks/alternatives to this?"
Well yes. The drawback's are mostly with cryptography. Random numbers are used a lot in cryptography.
And if these numbers would be predictable that would be a huge problem.That's why cloud flare is using 100 lava lamps to generate random encryption keys.

Each frame taken from a camera pointed at the lava lamps is always slightly different even just the tiniest flicker can help make it truly random.
Great video by Tom Scott explaining this in more detail:
Other local programs however use the time between key presses or any other thing that is truly unpredictable.
In summary
Al tough computers can't generate truly random numbers all by them self's. With a little help from outside sources truly random number are still possible.
