Generic Ambien is used for the treatment of insomnia and acts like a sleeping pill under the prescription of a doctor. You can now buy Ambien online too.