system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does the earth avoid a massive build-up of static electricity ?

And to an extent, what happens to an electrical charge when you ground it ?
gpt
Nothing that happens entirely on earth can change the number of electrons. The solar wind is mostly neutral, cosmic rays contribute a bit of positive charge. Very high levels of charge will dissipate; "space" is faintly conductive.

When you ground an electrical charge you mostly put it back when you got it (whether static or generated).