Brain-computer interfaces (BCIs) create a direct communication link between the human brain and computers, aiming to restore sensory functions, improve rehabilitation, and enhance human-computer interactions. There are two types of BCIs: invasive, which provide high signal quality but risk tissue damage, and non-invasive, which are easier to use but offer lower signal resolution. BCIs hold promise in diverse applications such as treating mental disorders and improving quality of life for paralyzed patients, representing a significant technological advancement with extensive research opportunities.