Alprazolam, also known as Xanax, is a benzodiazepine medication used to treat anxiety disorders, panic disorders, and sometimes insomnia. By amplifying the effects of GABA, a neurotransmitter in the brain, Xanax assists in calming the central nervous system.