The await operator is used to wait for a Promise and get its fulfillment value. It can only be used inside an async function or at the top level of a module.| MDN Web Docs
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.| MDN Web Docs