Managing Asynchronous Code in JavaScript

Hello Im jofu and I’m struggling to manage asynchronous functions in JavaScript, especially with nested callbacks. I’ve heard about promises and async/await, but I’m not sure which is better for my case. Can someone explain the differences and help me decide when to use each?