Dehydration is a dangerous complication of diarrhea. Fluids play an important role in the body. If there are not enough of them, the body cannot work properly.