PureCode Software interview question

What are the differences between require and import in Node.js?