Ambien is a hypnotic or a sedative meditation that is primarily used to treat insomnia, a sleeping disorder. its generic name is zolpidem and it belongs to a class of drugs known as nonbenzadiozepines. These drugs, known as nonbenzodiazepines, affect fewer brain receptor cells in comparision to benzodiazepines, and cause fewer side effects as well.