Xanax is an antidepressant that helps to treat panic and anxiety disorder. The benzodiazepines formula present in Xanax acts directly on the CNS (central nervous system) and the brain by increasing natural chemicals in the cell of the brain and nerve. The immediate soothing effects of Xanax make it a more prescribed medication.