MDMA (3,4-methylenedioxy-N-methylamphetamine) is an empathogenic drug of the phenethylamine and amphetamine classes of drugs. MDMA can induce euphoria, a sense of intimacy with others, diminished anxiety, and mild psychedelia. Many studies, particularly in the fields of psychology and cognitive therapy, have suggested MDMA has therapeutic benefits and facilitates therapy sessions in certain individuals, a practice for which it had been formally used in the past. Clinical trials are now testing the therapeutic potential of MDMA for post-traumatic stress disorder, anxiety associated with terminal cancer and addiction. MDMA is criminalized in most countries. Some limited exceptions exist for scientific and medical research. It is taken in a variety of contexts far removed from its roots in psychotherapeutic settings, and is commonly associated with dance parties (or "raves") and electronic dance music.