Epilepsy is a chronic neurological disorder characterized by recurrent seizures resulting from abnormal electrical discharges in the brain. Seizures can be generalized, affecting both sides of the brain, or partial, affecting one area. Epilepsy is diagnosed when a person has two or more unprovoked seizures more than 24 hours apart. While the specific cause is unknown in many cases, potential contributing factors include genetic predisposition, head injuries, brain tumors, infections, and developmental disorders. Treatment involves anticonvulsant medications to prevent seizures.