Patients with liver cirrhosis and some other liver-related diseases have increased pressure of the portal vein (Portal vein brings the blood towards the liver). Due to increased pressure in the portal vein, the veins is the food-pipe(esophagus) and stomach gets dilated, these dilated veins are known as esophageal and gastric varices respectively.