Apple cider vinegar is a product of apple sugar fermentation. The sugar content of apples oxidizes to acetic acid which is an active component of vinegar.
https://tophealthjournal.com/1740/health-benefits-of-apple-cider-vinegar/
Health benefits of Apple cider vinegar