Xanax is a brand name for alprazolam, a sedative used to treat anxiety, panic disorders, seizures, and insomnia.