In languages like c++,  java we can take command line input from user using standard i/o libraries. But JavaScript is used in browser and we never need to take input from user on command line, here Node JS fills the gap using its own libraries know as modules.