Meningitis is an infection that causes inflammation of the protective membranes surrounding the brain and spinal cord. It is often caused by a viral or bacterial infection and can be life-threatening if not treated promptly. Symptoms may include fever, headache, stiff neck, and sensitivity to light.