Promise is object,It is eventuall completion or failure of asynchronous operations.
.catch()-to handle errors in promises .finally()-executes if promise is resolved or rejected
The control of code looses if code accessed by third party api's or looses control of callback to main function.
promises and sync await