So what is mastering anyway?

So what is mastering anyway?