An event is an action or occurrence recognized by software/app that is handled by event handler by writing a code that will be executed when the event fired. Mouse move, Click, file copied or deleted are some examples of events. In Node Js there are two types of events. 1)System Events: The event that comes from the C++ side. 2)Custom Events: Custom events are user-defined events.