Problem Statement
What are the advantages of using promises instead of callbacks?
Explanation
Promises simplify asynchronous flow by chaining operations with `.then()` and handling errors with `.catch()`. They avoid nested callbacks, improve readability, and allow better error propagation.