Dukaan interview question

Q: What are promises in JS?