Why is citric acid added to food?

to add color

to add tartness

to add bitterness

to add sweetness


Its B. I'm only putting this out there because all the ones that are already on this website are wrong and archived.