Xanax is used to treat a wide range of anxiety and panic disOrders, and the effect of depressing. The central nervous system has made xanax the drug of choice for other aliments like sleep desOrders and stress