Although both act as depressants, Xanax is a type of benzodiazepine.