Resistant starches in oats and legumes bypass digestion in the small intestine. They ferment and produce butyrate in the colon, boosting immunity and fighting inflammation.