Brain-computer interface (BCI) is an important topic for researchers and the scientific community, as indicated by the abundance of research and study materials in the field. The purpose of the BCI is to allow interaction with any device or computer via brain signals. According to this definition, BCI strives to collect the brain signals using sensors, analyze and process these received signals, and then extract features to operate any device. Simply, it is a link between the brain and the device. The user can control the device by using the brain's neural activities. *Author for correspondence BCI was first developed for biomedical applications to enable physically impaired persons to move around by substituting for lost motor functions [1]. Nowadays, it includes non-medical applications as well [2, 3]. Newer areas of BCI research include lie detection, drowsiness detection, cognitive studies, motor imagery, virtual reality, video games, driver fatigue detection, stress detection, and many more. From these applications, cognitive ability is important to understanding brain functioning. Cognitive ability depends from person to person and is essential in controlling various mental activities [4]. BCI research has been accelerated by technological advances enabling processing and observing mental and cognitive activities [5]. Any cognitive task reveals how the person thinks, utilizes,