Xanax is a brand name for the medication alprazolam. It is a prescription drug belonging to the benzodiazepine class, primarily used to treat anxiety disorders and panic disorder.
Xanax works by enhancing the effects of a neurotransmitter called gamma-aminobutyric acid (GABA) in the brain. This leads to a calming effect, relaxation of muscles, and reduction in anxiety symptoms.