Diazepam, which is marketed first under valium, is a type of benzodiazepines which is used to cure anxiety, alcohol withdrawal, and seizures. Doctors also prescribe valium to relieve muscle spasm. It heals by calming the brain.