How is it possible to control a wheelchair or an artificial limb with your mind? Please answer ASAP

I WILL MARK AS BRAINLIEST TO THE BEST ANSWER
30 POINTS