Decoding Brainwaves: The Science Behind Neurofeedback