Epilepsy causes chemical signals in the brain to get misdirected, causing convulsions and muscle spasms.