What does require do?

Hey! I seem to have discovered this:

require() --I do not know how to use it the right way, okay!?

And i seem to have discovered it alot, so i wanted to find out what it actually does.
But i was unable to find solutions that actually could help me understand better.

Is it a required thing??

Nope, it’s a way for you to implement external functions, or even classes using their path or assetid.

require(script.Module)

-- or

require(00000000)