Encephalitis is inflammation of the brain while meningitis is inflammation of the protective layers around the brain.