Pregunta de entrevista de WIT Software

How do promises and asynchronous programming works.