What does _app.js and _document.js file do? What’s “_” (Underscore) for in next.js?

When I created a next.js app using npx create-next-app there is 2 js files named app and document leading with an Underscore what is that for?

The files are like this:

▼ pages
  _app.js
  _document.js