Pregunta de entrevista de Treasure Data

Difference between synchronous and asynchronous programming in Javascript? How would you use them?