Infosys interview question

Difference between wait and sleep?