7 Best Foods to Prevent Dehydration, from Nutrition Experts Garlic and onion both have sulfur-containing compounds, too.