Xanax treats anxiety, anxiety is a mental health disorder. Anxiety is the feeling of being worried or a strong fear that interferes with your daily life. Over 3 million people are diagnosed with anxiety each year in the United States of America. To treat anxiety, Xanax releases Gamma amino butyric acids which act as neurotransmitters in the body.