Disease, disturbance of cortical function due to a sudden, abnormal, excessive, and disorganized discharge of brain cells.