A brain–computer interface, sometimes called a brain–machine interface, is a direct communication link between the brain's electrical activity and an external device, most commonly a computer or robotic limb.