Xanax, the brand name for alprazolam, is a medicinal medication mostly used to manage nervousness problems. It belongs to a class of drugs known as benzodiazepines, which function by boosting the effects of a neurotransmitter called gamma-aminobutyric acid (GABA) in the brain. GABA has a calming effect, decreasing feelings of anxiety. It's essentia