Neurofeedback is a specific type of biofeedback that measures brain activity in real-time and uses audio and/or visual stimuli to train your brain for optimal function. It's sometimes called EEG biofeedback because the therapy involves an electroencephalograph (EEG) device to measure brainwaves.
Other biofeedback types measure different physiological processes like breathing, heart rate, muscle tension, and skin temperature but don't measure brain activity directly.