Ambienis a prescription sedative most commonly used to treat insomnia. Zolpidem is a yellowish, crystalline powder with a bitter taste that dissolves easily in water. It works by blocking receptors in the brain associated with certain nerve signals that send you to sleep.