Ambien belongs to a class called sedative or hypnotic. It also shares some characteristics of a family of sedatives called benzodiazepines.
Lunesta is a sedative and a nonbenzodiazepine hypnotic agent. It works by increasing the normal transmission of the neurotransmitter GABA in the central nervous system.
Restoril belongs to the class of drugs called benzodiazepines. It is sedative or hypnotic that affects chemicals in brain which cause sleeping disorders due to imbalance.