Original: Often this uses tannin, an acidic chemical compound.
Simplified: An acid called tannin is generally used.