The keto diet and vegan diet have gained popularity for their benefits. A study in Nature Medicine found that the vegan diet prompted responses linked to innate immunity-the body's non-specific first line of defense against pathogens-while the keto diet prompted responses associated with adaptive immunity-pathogen-specific immunity built through exposures in daily life and vaccination.