What is _G And how to use it

The title says it, what is _G and how and when to use it, for metatables?

So if you’re familiar with Modules then you will understand how _G works specifically, to put it simply it’s a table and can assign keys to this table however not only that it’ll save it cross-script, therefore allowing you to use it without communicating with another script. That’s just the simple way to put it.