I am a beginner of Bitcoins. I read here that the size of the blockchain is heavy HUNDREDS of gigabytes. I also read that one of the reasons bitcoin is safe is that EVERY user keeps a local copy of the blockchain on his machine and it gets updated whenever there is a transaction.
However, it is unthinkable to keep terabytes of data on the pc. How does it actually work?