Xanax, also known as Alprazolam, is a prescription medication commonly used to treat anxiety and panic disorders. It belongs to a class of drugs called benzodiazepines, which work by enhancing the effects of a neurotransmitter in the brain called GABA, leading to feelings of relaxation and calmness.