EPAM Systems interview question

how does node module resolution work?