Dodo Brands interview question

Why do we use sync/await