Encephalitis is an inflammation, or swelling, of the brain. The brain is a very important organ in the body. It controls our senses, movement, thinking, speech, and many other functions.