What’s the difference between the methods sleep() and wait()?

What’s the difference between the methods sleep() and wait()?