Encephalitis is the swelling or inflammation of the brain. Encephalitis, although rare is a life threatening disease. It is caused by either a direct viral infection in the brain or spinal cord or the infection starts in another area of the body and travels to the brain.