Alprazolam, commonly known by its brand name Xanax, is a benzodiazepine medication used to treat anxiety and panic disorders. It works by enhancing the effects of a neurotransmitter called gamma-aminobutyric acid (GABA) in the brain, which has calming and sedative effects.