It is important to remember that vinegar is a fermented liquid. For apple cider vinegar, the process to create vinegar specifically consists of putting apples into water for the fermentation process which then creates ethanol (via Healthline). This ethanol becomes an acetic acid, and when it has a cloudy sediment, the vinegar contains "the mother" as it is called. This simply means it is unfiltered raw vinegar in its most natural state, and contains enzymes, proteins, and good bacteria.
Because of this process and natural form, vinegar has many antioxidant and harmful bacteria-killing properties. In fact, vinegar can be used to benefit many parts of the body such as aiding in weight loss and lowering both blood sugar and cholesterol levels. If you drink vinegar every day, you can really see a positive difference. Healthline also reports that apple cider vinegar can be used in your skincare routine and as a natural hair conditioner.
It's a versatile product that doesn't just have to be used for cooking and cleaning, and many of its properties also play a role in giving it the lifespan it tends to contain (via WebMD).