Electroencephalography (EEG), used to record the random electrical activity in brain, is a known medical test. In this test, a graphical waveform is obtained by measuring the electrical activity of the cells. In the medical world, the relationship between epilepsy and EEG can be understood by examining changes in brain activity during or between epileptic seizures. EEG is a useful tool in the early treatment and diagnosis of epilepsy. Whether seizures, generally known as abnormal electrical discharges in brain cells, are of epileptic origin, comes to light through EEG. The main goal of our study was to demonstrate the EEG rhythm effectiveness for the diagnosis of epilepsy in EEG data obtained from the epilepsy center of Bonn Freiburg University Hospital. Time domain feature extraction of EEG band classification results was examined in detail against the classification results of frequency domain feature extraction of EEG rhythms in healthy subjects and subjects with epilepsy. By extracting effective features from EEG data in both time and frequency domains, the k nearest neighbor (KNN) algorithm was used for the time and frequency domain. It cannot be overlooked that among the four methods used for performance evaluation in the designed model, the classification success of frequency domain features was more successful than that of time domain features. Using the KNN algorithm, healthy individuals and epilepsy patients with seizures were classified with 100% success.