Pregunta de entrevista de Infosys

Difference between wait and sleep?