I have heard about Xanax and I was always wondering what it was so I decided to look it up and I found out that I was actually prescribed it for anxiety but I recieved the generic version!
Xanax's generic name is alprazolam
My doctor prescribed that to me for when I was getting anxiety attacks, it worked all right, basically made me fall asleep almost while I was eating.

I guess that Alprazolam is used to treat anxiety disorders, panic disorders, and anxiety caused by depression, so thats why he presribed it to me. I just found it put me right to sleep so I only took the stuff if I had a really bad anxiety day - found it made me kinda out of it the next day as well, so I didn't take it often.