A liquid diet is a diet that is mostly made up of liquids, or soft foods that melt at room temperature (such as ice cream). A liquid diet usually helps provide lots of hydration and helps maintain electrolyte balance. It is often prescribed for people who suffer with gastrointestinal illness or damage, or before or after certain types of medical tests or surgeries that involves the mouth or the digestive tract.