A large study suggests healthier plant-based diets may be linked to lower dementia risk, while processed plant foods may not.