Xanax is a prescription medication that belongs to the benzodiazepine class of drugs. It is used to treat anxiety disorders,…