Alprazolam is primarily prescribed for the management of anxiety disorders, panic disorder, and anxiety associated with depression. It belongs to a class of medications known as benzodiazepines, which act on the central nervous system to produce calming effects.