Xanax 2 mg (commonly known as green Xanax bars or “green hulks”) is a prescription medicine used to treat anxiety and panic disorders. It belongs to the benzodiazepine class and works by calming brain activity, producing a strong sedative and relaxing effect.