How is tannin manufactured?

Can you answer this question?