When HIV spreads to the brain, it causes inflammation and damage to brain cells. Unchecked over time, it will often cause nervous system problems or thinking problems that lead to dementia. The greater the spread of infection in the brain and the greater the damage that results, the worse the dementia symptoms become. People with HIV may also become infected with other organisms, such as syphilis, cytomegalovirus, and toxoplasmosis. They can also develop cancer, such as lymphoma of the central nervous system. Each of these infections or health problems can cause a drop in mental function, very much like that caused by HIV.