Anything acid could erode the enamel of the teeth ( which does not grow back ,so once its gone, its basically gone without dental intervention ( fillings, crowns, veneers ...). Initially there will be sensitivity ( usually to cold), then the enamel will thing out ( kinda getting translucent at the incised edges), then chipping will start to occur , exposing the second layer of the tooth ( denim), teeth will start to become cold sensitive, and the second layer being exposed will make the teeth more prone to decay, since it is a weaker, less protected layer.
Acid includes, but is not limited to Vinegar, lemon/ citrus juices, carbonated beverages ...
Also People with reflux/ GERD , the stomach acids will have the same ( if not greater) effects on the enamel ( including people with Bulemia)
Although avoiding acidic foods is close to impossible, rinsing , brushing and flossing after eating will dilute the acids and make the teeth less susceptible to erosion. And fluoride rinses and tooth pastes could aid in remineralizing some small enamel defects.