Eating too much or too little salt can make health problems more likely to happen, for example hypertension. When food is made, salt is used as a preservative, to make the food last longer, and as a seasoning, for flavor.