Ambien is a sedative medication that is used to treat the patient suffering from insomnia. The patie…