Xanax is a prescription medication used to treat anxiety and panic disorders. It belongs to a class of drugs called benzodiazepines, which have a calming…