It is used to include modules from external files. It takes one string parameters( location of file ) that we want to include.

BY Best Interview Question ON 21 Feb 2021

Example

require('file location')