Sudden loss of brain function is known as brain attack or stroke. Brain attack can be due to a blocked vessel (medically known as an ischemic stroke) or due to ruptured blood vessel (medically known as a hemorrhagic stroke or a subarachnoid haemorrhage).