Secondary encephalitis is inflammation in the brain that is caused by the immune system reacting to an infection in a different part of the body.