- Java Script is a language which runs on web browser.
- Web Browsers uses Java Script Engines implemented inside it to run the Java Script.
- Node JS uses the same V8 engine but instead of running it on web browser it run it on the operating system itself.
- Read, update and delete files.
- Easily communicate with database.
Why Node JS is popular ?
- Very fast (runs on v8 engine and uses non-blocking code)
- Huge ecosystem of open source package (npm)
- Great for realtime service. (like chat)