<human>:  Ambien is a drug that is used to treat insomnia. How does it work?
<bot>: Ambien is a hypnotic drug that is used to treat insomnia. It works by slowing down the activity of the brain. It is a sedative that helps you fall asleep, but it also causes drowsiness the next day.