Step 1: Recall what vinegar is.
Vinegar is an aqueous solution obtained by the fermentation of alcohol.
Step 2: Identify the major acid present.
During fermentation:
\[
\text{Ethanol} \xrightarrow{\text{oxidation}} \text{Acetic acid}
\]
Vinegar typically contains about \(4%-8%\) of acetic acid.
Step 3: Analyze the options.
(A) Acetic acid — main constituent ✔
(B) Ascorbic acid — vitamin C
(C) Citric acid — found in citrus fruits
(D) Tartaric acid — found in grapes and tamarind
Step 4: Final conclusion.
The main constituent of vinegar is acetic acid.
\[
\boxed{\text{(A)}}
\]