The main() function doesn’t really mean anything on it’s own.
It’s just a line of code you put at the beginning of what may well be longer lines of code.
That first line of code is what tells the computer that what follows may be those longer lines of code and that it’s those longer lines of code that define every line of code.