Xanax is a benzo which is very addictive, Buspar acts like a benzo but does not carry the addictive nature so is far safer in the long term. It does though need to build up in the system like an anti-d to start feeling the results where xanax is more for instant relief.
It is not same as xanax, even though it is similar and is prescribed usually for anxiety, but unlike xanax you need to take it for a couple of weeks to start seeing results.