Xanax or alprazolam has a place with the class of medicines called benzodiazepines. It is used for t…