Anxiolytic is the general term for a medicine used to reduce anxiety. It is a description of purpose, not of chemistry, so the category contains drugs that work in completely different ways and carry very different risk profiles.