in the effort to expel whatever microbial invader was irritating the gut , the gastrointestinal tract simply flushed itself repeatedly , depleting the body of the water necessary to circulate blood , to eliminate wastes , to cool the body by means of sweat , to maintain the brain and membranes-the water necessary to maintain life .