Cerebral shunts are commonly used to treat hydrocephalus, the swelling of the brain due to excess buildup of cerebrospinal fluid (CSF). If left unchecked, the cerebrospinal fluid can build up leading to an increase in intracranial pressure (ICP) which can lead to intracranial hematoma, cerebral edema, crushed brain tissue or herniation. [Source: Wikipedia ]