Ambien, also known by its generic name Zolpidem, is a prescription medication designed to treat insomnia and other sleep-related disorders. It belongs to a class of drugs known as sedative-hypnotics, which act on the central nervous system to induce sleep.