impact.com interview question

What is the difference between the sleep and wait method in threads?