What Actually Happens When You Run a JS File in Node.js ?

before we dive into what nodejs does and how it does it. it is important that you are aware what nodejs really is.