An acute inflammatory process affecting the brain parenchyma. Causes include viral infections and less frequently bacterial infections, toxins, and immune-mediated processes. The disease is Monarch Disease Ontology id MONDO_0019956 (encephalitis).