Pergunta de entrevista da empresa Smarsh

Difference between wait and sleep.