A disorder in which nerve cell activity in the brain is disturbed, causing seizures.