Meningitis is the inflammation (swelling) of the meninges, the protective membranes that cover the brain and spinal cord. It is usually caused by infection (bacterial, viral, or fungal).